-
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
Support for generate_request_id and preserve_external_request_id listener config #233
Conversation
LGTM, just add some test which checks x-request-id header behaviour. |
import pl.allegro.tech.servicemesh.envoycontrol.config.service.HttpsEchoContainer | ||
import pl.allegro.tech.servicemesh.envoycontrol.config.service.HttpsEchoResponse | ||
|
||
fun ObjectAssert<HttpsEchoResponse>.isOk(): ObjectAssert<HttpsEchoResponse> { |
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.
We already have this for the response
, duplicating this seems a bit odd but it's not that much code anyway.
// given | ||
val requestIdHeader = mapOf("x-request-id" to "egress-fake-request-id") | ||
|
||
untilAsserted { |
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 think we should decide on a "standard method" for this type of tests. I think that everything except reliability tests should use waitForReadyServices
. WDYT?
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 agree. However, I'd change it in a separate PR. I want to merge it ASAP and I don't want to make changes to someone else's PR.
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.