-
Notifications
You must be signed in to change notification settings - Fork 208
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
connectivity: disrupt deployment improved #2679
Conversation
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.
let's add a test for this in one of the workflows. https://github.com/cilium/cilium-cli/blob/main/.github/workflows/kind.yaml is already using --test-concurrency flag, so maybe do this conn disrupt thingy there.
edit: btw kind workflow doesn't seem too happy 👀 https://github.com/cilium/cilium-cli/actions/runs/9911162365/job/27383203458?pr=2679
7240d4c
to
e32ba2d
Compare
I've fixed the error. I think we can do the same for performance tests. |
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.
i guess we still need to specify --test-concurrency flag here? 💭
cilium-cli/.github/workflows/kind.yaml
Line 109 in 6d90b8c
--test-concurrency=5 \ |
Deploy conn-disrupt test actors only in the first test namespace in case of tests concurrent run to avoid resource wasting. Conn-disrupt tests always run at the beginning, sequentially and in the first test namespace. Kind workflow improved to start disrupt tests without concurrency and continue with concurrency. Signed-off-by: viktor-kurchenko <[email protected]>
e32ba2d
to
8ba6c38
Compare
I've removed Also, please note that |
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.
for future improvement, maybe it's better to create a namespace cilium-test-1
instead of cilium-test
when test-concurrency is set to 1 to get rid of the special case where there is no -$index
suffix in the namespace name.
Signed-off-by: Michi Mutsuzaki <[email protected]>
ok i'm merging this. i tried this cilium-cli against the cilium repo, and there are some failures https://github.com/cilium/cilium/actions/runs/9914828717 let's investigate before enabling --test-concurrency flag in cilium repo 🧑🔬 |
Deploy conn-disrupt test actors only in the first test namespace in case of tests concurrent run to avoid resource wasting. Conn-disrupt tests always run at the beginning, sequentially and in the first test namespace.
Fixed: #2678