Skip to content

Commit

Permalink
[Misc] Fix unstable VersionCheck test
Browse files Browse the repository at this point in the history
Summary: Exclude jgroup version output when enumerating bin dir.

Test Plan: CI pipeline

Reviewed-by: zhengxiaolinX, D-D-H

Issue: dragonwell-project/dragonwell8#273
  • Loading branch information
joeylee.lz committed Nov 15, 2021
1 parent 06faeab commit 701e600
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/tools/launcher/VersionCheck.java
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,10 @@ public boolean accept(File pathname) {
if (isWindows && !name.endsWith(EXE_FILE_EXT)) {
return false;
}
// jgroup requires special permission
if (pathname.getName().equals("jgroup")) {
return false;
}
for (String x : exclude) {
if (name.endsWith(x)) {
return false;
Expand Down

0 comments on commit 701e600

Please sign in to comment.