-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rlp e2e tests: fix sync issues #337
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #337 +/- ##
==========================================
- Coverage 65.26% 64.10% -1.17%
==========================================
Files 35 35
Lines 3792 3794 +2
==========================================
- Hits 2475 2432 -43
- Misses 1132 1163 +31
- Partials 185 199 +14
Flags with carried forward coverage won't be shown. Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So when we work on #87 we could stop relying on time based waiting assertions and check the status of the Wasmplugin. 🎖️
|
||
// Unfortunately, WasmPlugin does not have status yet | ||
// Leaving this here for future use | ||
//if !meta.IsStatusConditionTrue(wp.Status.Conditions, "Available") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏼
wpName := fmt.Sprintf("kuadrant-%s", gwName) | ||
wasmPluginKey := client.ObjectKey{Name: wpName, Namespace: testNamespace} | ||
wasmPluginKey := client.ObjectKey{Name: rlptools.WASMPluginName(gateway), Namespace: testNamespace} | ||
Eventually(testWasmPluginIsAvailable(wasmPluginKey), time.Minute, 5*time.Second).Should(BeTrue()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏼
No description provided.