mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-23 02:36:42 +00:00
fix log in test
This commit is contained in:
@@ -967,7 +967,7 @@ func Test_IncrementNetworkSerial(t *testing.T) {
|
|||||||
err = manager.Store.ExecuteInTransaction(context.Background(), func(transaction store.Store) error {
|
err = manager.Store.ExecuteInTransaction(context.Background(), func(transaction store.Store) error {
|
||||||
err = transaction.IncrementNetworkSerial(context.Background(), store.LockingStrengthNone, accountID)
|
err = transaction.IncrementNetworkSerial(context.Background(), store.LockingStrengthNone, accountID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("Failed to get account %s: %v", accountID, err)
|
return fmt.Errorf("failed to get account %s: %v", accountID, err)
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user