Skip to content

.travis:fix test failed caused by timeout#10656

Merged
tgraf merged 1 commit intocilium:masterfrom
Jianlin-lv:pr-travis-timeout
Mar 22, 2020
Merged

.travis:fix test failed caused by timeout#10656
tgraf merged 1 commit intocilium:masterfrom
Jianlin-lv:pr-travis-timeout

Conversation

@Jianlin-lv
Copy link
Copy Markdown
Contributor

Add waiting time to process kvstore.EventTypeDelete

Signed-off-by: Jianlin Lv Jianlin.Lv@arm.com

Fixes: #10615

Add waiting time to process kvstore.EventTypeDelete

Signed-off-by: Jianlin Lv <Jianlin.Lv@arm.com>
@Jianlin-lv Jianlin-lv requested a review from a team as a code owner March 20, 2020 18:16
@maintainer-s-little-helper
Copy link
Copy Markdown

Please set the appropriate release note label.

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.03%) to 45.572% when pulling 4a3b790 on Jianlin-lv:pr-travis-timeout into 17c5fdc on cilium:master.

@aanm aanm added pending-review release-note/misc This PR makes changes that have no direct user impact. labels Mar 20, 2020
@aanm
Copy link
Copy Markdown
Member

aanm commented Mar 20, 2020

test-me-please

Copy link
Copy Markdown
Member

@joestringer joestringer left a comment

Choose a reason for hiding this comment

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

Basically before we were not properly testing the local key protection, but checking that the initial delete occurs? And now we're actually waiting long enough to ensure that local key protection kicks in and repopulates the kvstore?

LGTM.

Not the biggest fan of putting a sleep in here but I can't think of a more reliable method in the short term.

@tgraf
Copy link
Copy Markdown
Contributor

tgraf commented Mar 22, 2020

Known flake failed:

Suite-k8s-1.11.K8sDatapathConfig ManagedEtcd Check connectivity with managed etcd

@tgraf tgraf merged commit 970b2d6 into cilium:master Mar 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-note/misc This PR makes changes that have no direct user impact.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: Travis flake on arm64: StoreConsulSuite.TestStoreLocalKeyProtection: "timeout while waiting for expected value"

5 participants