-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[Forge] Fix local mode forge run #2153
Conversation
@@ -168,15 +169,19 @@ if [ -n "$AVG_TPS" ]; then | |||
echo "forge_job_avg_tps {FORGE_CLUSTER_NAME=\"$FORGE_CLUSTER_NAME\",FORGE_NAMESPACE=\"$FORGE_NAMESPACE\",GITHUB_RUN_ID=\"$GITHUB_RUN_ID\"} $AVG_TPS" | curl -u "$PUSH_GATEWAY_USER:$PUSH_GATEWAY_PASSWORD" --data-binary @- ${PUSH_GATEWAY}/metrics/job/forge | |||
if [[ "$AVG_TPS" -lt "$TPS_THRESHOLD" ]]; then | |||
echo "(\!) AVG_TPS: ${avg_tps} < ${TPS_THRESHOLD} tps" | |||
FORGE_EXIT_CODE=1 | |||
if [ "$FORGE_RUNNER_MODE" != "local" ]; then |
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.
Can we move this perf threshold checking into the performance test itself ?
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.
We can do that, but that will require some plumbing in the transaction emitter. May be as a follow up I can take a look at this?
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.
hm ok yea. this script is just getting too complicated
e8d476d
to
39bc7bd
Compare
39bc7bd
to
2d136d3
Compare
❌ Forge test failureForge is land-blocking
|
❌ Forge test failureForge is land-blocking
|
❌ Forge test failureForge is land-blocking
|
❌ Forge test failureForge is land-blocking
|
❌ Forge test failureForge is land-blocking
|
❌ Forge test failureForge is land-blocking
|
✅ Forge test successForge is land-blocking
|
Description
In local mode, submit lower TPS so that the transaction emitter is stable and also don't check for TPS/latency criteria.
Test Plan
This change is