Skip to content

Commit

Permalink
Removed _xl for mac platform in TRSS query
Browse files Browse the repository at this point in the history
- The platform for aarch64_mac should not include _xl in TRSS url when querying for test execution times,
- Adjusted the code to remove _xl from the platform string if the OS is macOS.

related: #557

Signed-off-by: Anna Babu Palathingal <anna.bp@ibm.com>
  • Loading branch information
annaibm committed Aug 13, 2024
1 parent 9975ca9 commit fd80ed5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/org/testKitGen/TestDivider.java
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,11 @@ private Map<String, Integer> getDataFromTRSS() {
String group = getGroup();
String level = getLevel();
Map<String, Integer> map = new HashMap<String, Integer>();
String URL = constructURL(impl, plat, group, level);
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("mac")) {
plat = plat.replace("_xl", "");
}
String URL = constructURL(impl, plat, group, level);
String command;

if (osName.contains("win")) {
Expand Down

0 comments on commit fd80ed5

Please sign in to comment.