-
Notifications
You must be signed in to change notification settings - Fork 2
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
Fix panic when determining cluster domain. #115
Conversation
- The tests would always test version 1.0.0, not the current version. - The test would always fail some tests on first run. Second attempt succeeded due to cached results of the first test. - Tests were divided into separate package (and hence separate executables) and ran in parallel using the same namespace. This caused lots of intermittent failures. - Test cleanup happened at the wrong time. It's truly amazing that the tests did succeed at the second run. Signed-off-by: Thomas Hallgren <[email protected]>
Closed telepresenceio/telepresence#3418 Signed-off-by: Thomas Hallgren <[email protected]>
4d51429
to
d588a15
Compare
Updates all dependencies using `go get -u ./...`. Signed-off-by: Thomas Hallgren <[email protected]>
d588a15
to
6955feb
Compare
17ce730
to
f1efc5f
Compare
Signed-off-by: Thomas Hallgren <[email protected]>
f1efc5f
to
49b30c4
Compare
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.
lgtm...I just one small question and mental note for myself.
@@ -609,6 +608,8 @@ func TestWatchErrorSendingSnapshot(t *testing.T) { | |||
cancel() | |||
t.Fatal("Timed out waiting for report to complete.") | |||
} | |||
ts.Close() |
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.
Since there are t.Fatal
calls in the select case wont this fail to be called now that it is no longer a defer?
env: | ||
A8R_AGENT_VERSION: ${{ steps.build.outputs.version }} | ||
AMBASSADOR_AGENT_DOCKER_IMAGE: localhost:5000/ambassador-agent:${{ steps.build.outputs.version }} | ||
KAT_SERVER_DOCKER_IMAGE: docker.io/datawiredev/kat-server:3.0.1-0.20220817135951-2cb28ef4f415 |
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.
random thought:
I'm not too familiar with the Agent code base beyond knowing it was historically in emissary-ingress repo and just scrapes Edgissary for data and forwards it on to Ambassador Cloud. But, I was surprised to see references to the kat-server
so I will take it as a mental note to investigate this further during cooldown.
Signed-off-by: Thomas Hallgren <[email protected]>
This PR also upgrades all dependencies and fixes broken integration tests.