Skip to content

Commit 9b8befa

Browse files
authored
Merge pull request #234 from klihub/fixes/tests/ensure-fully-registered-mock-plugins
adaptation: ensure sync'ed plugins are fully registered in tests.
2 parents a63af00 + c840397 commit 9b8befa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/adaptation/suite_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ func (s *Suite) WaitForPluginsToSync(plugins ...*mockPlugin) {
125125
for _, plugin := range plugins {
126126
Expect(plugin.Wait(PluginSynchronized, timeout)).To(Succeed())
127127
}
128+
s.runtime.runtime.BlockPluginSync().Unblock() // ensure plugins are fully registered
128129
}
129130

130131
// Cleanup the test suite.

0 commit comments

Comments
 (0)