Skip to content

Commit

Permalink
Merge pull request #641 from sophia-guo/docker
Browse files Browse the repository at this point in the history
checking if JVM_OPTIONS is empty
  • Loading branch information
LongyuZhang authored Nov 26, 2024
2 parents a19358d + 7d92077 commit 262e459
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/org/testKitGen/TestInfoParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ public TestInfo parse() {

List<String> variations = new ArrayList<String>();
List<Variation> listOfVars = new ArrayList<Variation>();
if (System.getenv("JVM_OPTIONS") == null) {
String jvmOptions = System.getenv("JVM_OPTIONS");
if (jvmOptions == null || jvmOptions.isEmpty()) {
getElements(variations, "variations", "variation", null, ti.getTestCaseName());
for (int i = 0; i < variations.size(); i++) {
String subTestName = ti.getTestCaseName() + "_" + i;
Expand Down

0 comments on commit 262e459

Please sign in to comment.