Skip to content

Commit 02545f6

Browse files
committed
fixup! adaptation: rework adaptation tests.
1 parent dde7d95 commit 02545f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/adaptation/adaptation_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3410,13 +3410,13 @@ func TestPluginInstanceUpdate(t *testing.T) {
34103410
p.Start()
34113411
_, started := evt.Search(
34123412
EventOccurred(PluginSynchronized(p.ID(), nil, nil)),
3413-
UntilTimeout(1*time.Second),
3413+
UntilTimeout(3*time.Second),
34143414
)
34153415
require.True(t, started, "start new plugin instance")
34163416

34173417
_, shutdown := evt.Search(
34183418
EventOccurred(PluginShutdown("00-test", api.ShutdownByOtherInstance)),
3419-
UntilTimeout(1*time.Second),
3419+
UntilTimeout(3*time.Second),
34203420
)
34213421
require.True(t, shutdown, "old instance shut down by new instance")
34223422

0 commit comments

Comments
 (0)