Skip to content

Commit

Permalink
Fixing the regression in the scenario parameters. issue #331
Browse files Browse the repository at this point in the history
  • Loading branch information
itaiag committed Aug 8, 2018
1 parent 67ae2e8 commit 9fcc6f8
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ private static void removeRunningPropsWithDefaultValues(
}
}
}

public static Properties removeDeletedScenarioProperties(Properties properties, String scenarioName) throws Exception {
String lastTestFullUuid = "";
Properties sortedProperties = new SortedProperties();
Expand All @@ -664,6 +664,9 @@ public static Properties removeDeletedScenarioProperties(Properties properties,
if (sortedProperties.get(key1) == null) {
continue;
}
if (key1.toString().indexOf(".") == -1) {
continue;
}
String testFullUuid = key1.toString().substring(0, key1.toString().indexOf("."));
if (!testFullUuid.equals(lastTestFullUuid)) {
lastTestFullUuid = testFullUuid;
Expand Down

0 comments on commit 9fcc6f8

Please sign in to comment.