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

E2e test #241

Merged
merged 17 commits into from
Jul 22, 2024
Merged

E2e test #241

merged 17 commits into from
Jul 22, 2024

Conversation

zreigz
Copy link
Member

@zreigz zreigz commented Jul 19, 2024

test resource cache

Expect(ok).To(BeTrue())
Expect(cachedResource).To(Equal(rce))
// should expire and clean applySHA and manifestSHA
time.Sleep(1 * time.Second)
Copy link
Member

Choose a reason for hiding this comment

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

Is there a way to get rid of these sleep calls? Looks like potential race condition and it will make tests run longer.

Copy link
Member

@maciaszczykm maciaszczykm left a comment

Choose a reason for hiding this comment

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

Left one comment related to usage of Sleep().

@zreigz zreigz merged commit 47371f9 into main Jul 22, 2024
31 of 32 checks passed
@zreigz zreigz deleted the e2e branch July 22, 2024 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants