Skip to content

test: reduce CI failure caused by flaky tests#7085

Merged
spacewander merged 1 commit into
apache:masterfrom
spacewander:btc
May 23, 2022
Merged

test: reduce CI failure caused by flaky tests#7085
spacewander merged 1 commit into
apache:masterfrom
spacewander:btc

Conversation

@spacewander

@spacewander spacewander commented May 19, 2022

Copy link
Copy Markdown
Member

This commit addresses the problem with these actions:

  1. increase the rerun limit
  2. make sure the last reopen file is expired
  3. increase redis delay to reduce the effect of the request latency
  4. increase report time so the tcp-logger in prometheus test doesn't
    report to TCP receiver as we don't have such a TCP receiver.

Signed-off-by: spacewander [email protected]

Description

Fixes #7037

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)

This commit addresses the problem with these actions:
1. increase the rerun limit
2. make sure last reopen file is expired
3. increase redis delay to reduce the effect from the request latency
4. increase report time so the tcp-logger in prometheus test doesn't
   report to TCP receiver as we don't have such a TCP receiver.

Signed-off-by: spacewander <[email protected]>
@spacewander
spacewander marked this pull request as ready for review May 20, 2022 03:46
end

local code = t("/hello", ngx.HTTP_GET)
assert(code == 200)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why this assertion is needed?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Just make sure the code is expected.

@spacewander
spacewander merged commit b76386a into apache:master May 23, 2022
hongbinhsu pushed a commit to fitphp/apix that referenced this pull request May 24, 2022
* upsgrteam/master: (351 commits)
  fix(proxy-cache): bypass when method mismatch cache_method (apache#7111)
  chore(script): support to install dependencies under arm64 (apache#7091)
  chore(ci): use the latest build script for apisix-base (apache#7090)
  fix(batch-requests): ignore "unix:" in the configuration (apache#7106)
  fix: install dependencies issues (apache#7092)
  feat(ops): use lua libs to backup config file insteadof shell command (apache#7048)
  test: reduce CI failure caused by flaky tests (apache#7085)
  chore(ci): move set_dns.sh to ci dir (apache#7089)
  feat: release 2.14.0 (apache#7057)
  docs: update "Tracers" Plugins (apache#7086)
  docs: update "Traffic" Plugin docs 3 (apache#7064)
  docs: update "Serverless" Plugins (apache#7076)
  feat(ops): check process running with posix.signal insteadof lsof (apache#7006)
  docs: modify how-to-build filename (apache#7087)
  docs: fix link of hot-reload in docs (apache#7081)
  chore(ci): apt update before install (apache#7080)
  docs: add pubsub develop example for kafka (apache#7059)
  ci: enable rebase in some situation (apache#7074)
  fix: redirect http to https but port not change (apache#7065)
  ci: make it pass under OpenResty 1.21 (apache#7067)
  ...
spacewander added a commit that referenced this pull request Jun 30, 2022
This commit addresses the problem with these actions:
1. increase the rerun limit
2. make sure last reopen file is expired
3. increase redis delay to reduce the effect from the request latency
4. increase report time so the tcp-logger in prometheus test doesn't
   report to TCP receiver as we don't have such a TCP receiver.

Signed-off-by: spacewander <[email protected]>
Liu-Junlin pushed a commit to Liu-Junlin/apisix that referenced this pull request Nov 4, 2022
This commit addresses the problem with these actions:
1. increase the rerun limit
2. make sure last reopen file is expired
3. increase redis delay to reduce the effect from the request latency
4. increase report time so the tcp-logger in prometheus test doesn't
   report to TCP receiver as we don't have such a TCP receiver.

Signed-off-by: spacewander <[email protected]>
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.

ci: unstable, random failures

4 participants