Skip to content
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

phc: test multiple unhealthy endpoints #3058

Merged
merged 10 commits into from
May 7, 2024

Conversation

MustafaSaber
Copy link
Member

related to #3035

With multiple unhealthy endpoints test case fails

Signed-off-by: Mustafa Abdelrahman <mustafa.abdelrahman@zalando.de>
@MustafaSaber MustafaSaber added the minor no risk changes, for example new filters label May 2, 2024
@MustafaSaber MustafaSaber self-assigned this May 2, 2024
Signed-off-by: Mustafa Abdelrahman <mustafa.abdelrahman@zalando.de>
@RomanZavodskikh
Copy link
Member

👍

Signed-off-by: Mustafa Abdelrahman <mustafa.abdelrahman@zalando.de>
Signed-off-by: Mustafa Abdelrahman <mustafa.abdelrahman@zalando.de>
@MustafaSaber
Copy link
Member Author

we were able to fix with custom options for endpointregistry but still with the minimum value race still fails

… tricky to set different headers for attacks

Signed-off-by: Mustafa Abdelrahman <mustafa.abdelrahman@zalando.de>
@MustafaSaber MustafaSaber force-pushed the phc/refactor-tests-and-add-extra branch from 3b66e9c to 281ba57 Compare May 7, 2024 09:01
})
})
}

t.Run("consistentHash", func(t *testing.T) {
Copy link
Member Author

@MustafaSaber MustafaSaber May 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ConsistentHash was separated and using old approach because it's a little bit tricky to set headers for different set of requests with Vegeta, we use the hash to map the request to endpoint.

Signed-off-by: Mustafa Abdelrahman <mustafa.abdelrahman@zalando.de>
@MustafaSaber
Copy link
Member Author

👍

Signed-off-by: Mustafa Abdelrahman <mustafa.abdelrahman@zalando.de>
Signed-off-by: Mustafa Abdelrahman <mustafa.abdelrahman@zalando.de>
Signed-off-by: Mustafa Abdelrahman <mustafa.abdelrahman@zalando.de>
Signed-off-by: Mustafa Abdelrahman <mustafa.abdelrahman@zalando.de>
@RomanZavodskikh
Copy link
Member

👍

1 similar comment
@MustafaSaber
Copy link
Member Author

👍

@MustafaSaber MustafaSaber merged commit d563b7c into master May 7, 2024
14 checks passed
@MustafaSaber MustafaSaber deleted the phc/refactor-tests-and-add-extra branch May 7, 2024 14:52
JanardhanSharma pushed a commit to JanardhanSharma/skipper that referenced this pull request Jul 19, 2024
use vegeta with all algorithms except `consistentHash` as it's a bit tricky to set different headers for attacks

Signed-off-by: Mustafa Abdelrahman <mustafa.abdelrahman@zalando.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor no risk changes, for example new filters
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants