We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7751996 commit 0bfb53cCopy full SHA for 0bfb53c
test/hotspot/jtreg/gtest/GTestResultParser.java
@@ -1,5 +1,5 @@
1
/*
2
- * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved.
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
*
5
* This code is free software; you can redistribute it and/or modify it
@@ -57,7 +57,10 @@ public GTestResultParser(Path file) {
57
testCase = xmlReader.getAttributeValue("", "name");
58
break;
59
case "failure":
60
- failedTests.add(testSuite + "::" + testCase);
+ String failedStr = testSuite + "::" + testCase;
61
+ if (!failedTests.contains(failedStr)) {
62
+ failedTests.add(failedStr);
63
+ }
64
65
default:
66
// ignore
0 commit comments