-
Notifications
You must be signed in to change notification settings - Fork 255
test_: reliability fixes #6736
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
test_: reliability fixes #6736
Conversation
Jenkins BuildsClick to see older builds (27)
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #6736 +/- ##
========================================
Coverage 59.28% 59.28%
========================================
Files 828 828
Lines 101465 101465
========================================
Hits 60152 60152
+ Misses 33764 33744 -20
- Partials 7549 7569 +20
Flags with carried forward coverage won't be shown. Click here to find out more. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm confused why don't we have all the packages installed at Dockerfile stage 🤔
We probably don't want them tgere all the time, but we can have a separate Docker image with this.
@@ -7,7 +7,9 @@ class NetworkConditionsSteps: | |||
@contextmanager | |||
def add_latency(self, node, latency=300, jitter=50): | |||
logging.info("Entering context manager: add_latency") | |||
node.container_exec(f"apk add iproute2 && tc qdisc add dev eth0 root netem delay {latency}ms {jitter}ms distribution normal") | |||
node.container_exec( | |||
f"apt-get update && apt-get install -y iproute2 && tc qdisc add dev eth0 root netem delay {latency}ms {jitter}ms distribution normal" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm, why dot we have this as part of Dockerfile?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did tried it in this commit
but when I try to use it, it will not find the package, now sure why.
Let me do another try, maybe I've missed something
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no luck, it seems that the package is not installed
Thanks for the fix btw. And sorry for breaking it 😄 |
Making the reliability tests green again https://github.com/status-im/status-go/actions/runs/16075568798