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

fix(telemetry)_: fix flaky cache test #5885

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

adklempner
Copy link
Contributor

@adklempner adklempner commented Sep 27, 2024

Fix flaky test for telemetry cache by removing use of time.Sleep

Telemetry behavior is dependent on timing, which can be hard to reproduce across all testing environments. Instead of running the telemetry client's main go routines via Start() and using time.Sleep to trigger its timer, invoke the functionality being tested directly.

@status-im-auto
Copy link
Member

status-im-auto commented Sep 27, 2024

Jenkins Builds

Click to see older builds (5)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 632d7e9 #1 2024-09-27 15:06:02 ~3 min tests-rpc 📄log
✔️ 632d7e9 #1 2024-09-27 15:06:49 ~4 min linux 📦zip
✔️ 632d7e9 #1 2024-09-27 15:07:26 ~4 min android 📦aar
✔️ 632d7e9 #1 2024-09-27 15:09:43 ~7 min ios 📦zip
✔️ 632d7e9 #1 2024-09-27 15:38:32 ~35 min tests 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
✖️ 327be21 #2 2024-09-28 02:34:29 ~2 min tests 📄log
✔️ 327be21 #2 2024-09-28 02:35:05 ~3 min tests-rpc 📄log
✔️ 327be21 #2 2024-09-28 02:36:19 ~4 min linux 📦zip
✔️ 327be21 #2 2024-09-28 02:36:46 ~4 min ios 📦zip
✔️ 327be21 #2 2024-09-28 02:37:03 ~5 min android 📦aar
✔️ 14f75f8 #3 2024-09-30 15:12:55 ~1 min android 📦aar
✔️ 14f75f8 #3 2024-09-30 15:13:36 ~2 min linux 📦zip
✔️ 14f75f8 #3 2024-09-30 15:14:29 ~2 min tests-rpc 📄log
✔️ 14f75f8 #3 2024-09-30 15:14:47 ~3 min ios 📦zip
✔️ 14f75f8 #3 2024-09-30 15:42:53 ~31 min tests 📄log

@codecov-commenter
Copy link

codecov-commenter commented Sep 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (develop@7a23ac5). Learn more about missing BASE report.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #5885   +/-   ##
==========================================
  Coverage           ?   46.07%           
==========================================
  Files              ?      888           
  Lines              ?   157372           
  Branches           ?        0           
==========================================
  Hits               ?    72507           
  Misses             ?    76548           
  Partials           ?     8317           
Flag Coverage Δ
functional 11.60% <ø> (?)
unit 45.65% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Copy link
Collaborator

@igor-sirotin igor-sirotin left a comment

Choose a reason for hiding this comment

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

Thank you! 👍

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

Successfully merging this pull request may close these issues.

4 participants