Skip to content

Commit

Permalink
Rename Product Tests reports target dir
Browse files Browse the repository at this point in the history
  • Loading branch information
nineinchnick authored and hashhar committed Dec 13, 2021
1 parent bcaf054 commit 70211b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -507,5 +507,5 @@ jobs:
with:
name: result pt (${{ matrix.config }}, ${{ matrix.suite }})
path: |
presto-product-tests/target/*
testing/trino-product-tests/target/*
logs/*
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ private TestRun.TestRunOptions createTestRunOptions(String suiteName, SuiteTestR
testRunOptions.extraOptions = suiteTestRun.getExtraOptions();
testRunOptions.testArguments = suiteTestRun.getTemptoRunArguments();
testRunOptions.testJar = testJar;
testRunOptions.reportsDir = Paths.get(format("presto-product-tests/target/%s/%s/%s", suiteName, environmentConfig.getConfigName(), suiteTestRun.getEnvironmentName()));
testRunOptions.reportsDir = Paths.get(format("testing/trino-product-tests/target/%s/%s/%s", suiteName, environmentConfig.getConfigName(), suiteTestRun.getEnvironmentName()));
testRunOptions.startupRetries = null;
testRunOptions.logsDirBase = Optional.empty();
return testRunOptions;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ private TestRun.TestRunOptions createTestRunOptions(String runId, String suiteNa
testRunOptions.testJar = suiteRunOptions.testJar;
testRunOptions.cliJar = suiteRunOptions.cliJar;
String suiteRunId = suiteRunId(runId, suiteName, suiteTestRun, environmentConfig);
testRunOptions.reportsDir = Paths.get("presto-product-tests/target/reports/" + suiteRunId);
testRunOptions.reportsDir = Paths.get("testing/trino-product-tests/target/reports/" + suiteRunId);
testRunOptions.logsDirBase = logsDirBase.map(dir -> dir.resolve(suiteRunId));
// Calculate remaining time
testRunOptions.timeout = remainingTimeout();
Expand Down

0 comments on commit 70211b1

Please sign in to comment.