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

Flaky unit test for storage rules #4837

Open
vojdan opened this issue Aug 8, 2022 · 1 comment
Open

Flaky unit test for storage rules #4837

vojdan opened this issue Aug 8, 2022 · 1 comment

Comments

@vojdan
Copy link

vojdan commented Aug 8, 2022

[REQUIRED] Environment info

firebase-tools: 11.4.2
node --version: v16.16.0

Platform: MacOS Monterey 12.5, MacBook Pro Apple M1 Max, 64 GB

[REQUIRED] Test case

Repro: https://github.com/vojdan/firebase-memory-leak

Look at Issue 1 in README.md
https://github.com/vojdan/firebase-memory-leak#issue-1---flaky-tests

[REQUIRED] Steps to reproduce

GIF included in README

https://github.com/vojdan/firebase-memory-leak#issue-1---flaky-tests

Start firebase emulators (in terminal 1)

npm run emulators:test

Run tests in watch mode (in terminal 2)

npm run test:watch

[REQUIRED] Expected behavior

Tests always pass.

[REQUIRED] Actual behavior

Tests pass/fail randomly. Re-run tests to observe by pressing Enter in terminal #2 after test run finishes.

GIF included in README

https://github.com/vojdan/firebase-memory-leak#issue-1---flaky-tests

@vojdan vojdan added the bug label Aug 8, 2022
@google-oss-bot
Copy link
Contributor

This issue does not have all the information required by the template. Looks like you forgot to fill out some sections. Please update the issue with more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants