Skip to content

AMQ-8189 add wait time to CachedLDAPAuthorizationModuleTest#640

Closed
charlie-cyf wants to merge 2 commits intoapache:masterfrom
charlie-cyf:AMQ8189
Closed

AMQ-8189 add wait time to CachedLDAPAuthorizationModuleTest#640
charlie-cyf wants to merge 2 commits intoapache:masterfrom
charlie-cyf:AMQ8189

Conversation

@charlie-cyf
Copy link

Description

  • This test is flaky because default 30s wait time is not enough for test run in CI env. failed example
  • changed wait time to maximum 10 min to fix this issue

Testing

Tested on my local Github Actions CI run: https://github.com/charlie-cyf/activemq/runs/2190121520?check_suite_focus=true#step:7:870

@jbonofre jbonofre self-requested a review March 25, 2021 17:26
@jbonofre
Copy link
Member

@charlie-cyf can you please rebase/squash your two commits ? Thanks !

}
}
});
}, 30*60*1000);
Copy link
Contributor

Choose a reason for hiding this comment

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

10 minutes seems like an unreasonable amount of time to wait for a single test. The CI build is super long already. Do you think it could be shorter?

@Charlie-chenchrl
Copy link
Contributor

Sure, new PR: #641

@jbonofre
Copy link
Member

For the record, you don't have to create a new PR. You can simply update this one with git rebase -i origin/master and squash the second commit to the first one, and then you just force push git push --force charlie-cyf:AMQ8189.

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