-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
TestEventsRPC can be flakey #4044
Comments
Oh! I just realized that the test failure wasn't using my revised logging code to log the default case: it may be that we're receiving some other event. skaffold/integration/rpc_test.go Lines 114 to 128 in 67b405e
|
Aha! Here's the culprit:
|
My branch is also failing due to same issue. This could be due to status check being turned on by default. |
Fixes GoogleContainerTools#4044 Signed-off-by: David Gageot <[email protected]>
Fixes #4044 Signed-off-by: David Gageot <[email protected]>
@tejal29 and I have had a number of failures in TestEventsRPC as it's receiving 1 deploy event, not the 2 expected.
I added some logging at there are normally two deploy events:
We don't see the second Complete event.
TestEventsRPC failure
``` time="2020-04-28T18:36:30Z" level=info msg="[skaffold dev --namespace skaffoldpbr82 --default-repo gcr.io/k8s-skaffold --rpc-port 29619]" TestEventsRPC: rpc_test.go:88: waiting for connection... TestEventsRPC: rpc_test.go:88: waiting for connection... TestEventsRPC: rpc_test.go:119: meta event 1: metaEvent: type:LOCAL > deploy: cluster:OTHER > > > TestEventsRPC: rpc_test.go:122: build event 1: buildEvent: TestEventsRPC: rpc_test.go:122: build event 2: buildEvent: TestEventsRPC: rpc_test.go:125: deploy event 1: deployEvent: TestEventsRPC: rpc_test.go:131: int differ (-got, +want): int( - 1, + 2, ) time="2020-04-28T18:36:32Z" level=info msg="Ran in 2.143460403s" ```successful run — notice completion in 1.5s
The text was updated successfully, but these errors were encountered: