Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vgonkivs committed Oct 3, 2023
1 parent 14f54c1 commit bdbada0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion nodebuilder/tests/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ func TestHeaderSubscription(t *testing.T) {
}
// cancel subscription via context
subcancel()

// stop the light node and expect no outstanding subscription errors
err = light.Stop(ctx)
require.NoError(t, err)
Expand Down
2 changes: 2 additions & 0 deletions nodebuilder/tests/sync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,8 @@ func TestSyncStartStopLightWithBridge(t *testing.T) {
light = sw.NewLightNode()
require.NoError(t, light.Start(ctx))

lightClient = getAdminClient(ctx, light, t)

// ensure when light node comes back up, it can sync the remainder of the chain it
// missed while sleeping
h, err = lightClient.Header.WaitForHeight(ctx, 40)
Expand Down

0 comments on commit bdbada0

Please sign in to comment.