Skip to content

Commit ddb38fe

Browse files
committed
Fix unit integration test
Fix sample test parameter
1 parent 2e66859 commit ddb38fe

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

elastest-torm/src/main/java/io/elastest/etm/config/EtSampleDataLoader.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ private void createBrowsersInAWS() {
617617
parameters.add(new Parameter("OPENVIDU_SECRET", "MY_SECRET"));
618618
parameters.add(new Parameter("USERS_BY_SESSION", "3"));
619619
parameters.add(new Parameter("MAX_SESSIONS", "2"));
620-
parameters.add(new Parameter("ET_MON_LSHTTPS_API", "http://etm:5003"));
620+
parameters.add(new Parameter("ET_MON_LSHTTPS_API", "http://etm:5003/api/monitoring/"));
621621

622622
this.printLog(pjName);
623623
// Create Project
@@ -781,7 +781,7 @@ public void createQoEAWS() {
781781
parameters.add(new Parameter("AWS_KEY_NAME", ""));
782782
parameters.add(new Parameter("AWS_SECURITY_GROUPS", ""));
783783
parameters.add(new Parameter("AWS_SSH_PRIVATE_KEY", ""));
784-
parameters.add(new Parameter("ET_MON_LSHTTPS_API", "http://etm:5003"));
784+
parameters.add(new Parameter("ET_MON_LSHTTPS_API", "http://etm:5003/api/monitoring/"));
785785

786786
this.printLog(pjName);
787787
// Create Sut

elastest-torm/src/test/java/io/elastest/etm/test/api/EtmApiItTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,9 @@ protected TJob getSampleTJob(long projectId) {
161161
tJob.setName("testApp1");
162162
tJob.setImageName("elastest/test-etm-alpinegitjava");
163163
tJob.setResultsPath(
164-
"/demo-projects/unit-java-test/target/surefire-reports/");
164+
"/demo-projects/unit/junit5-unit-test/target/surefire-reports/");
165165
tJob.setCommands(
166-
"git clone https://github.com/elastest/demo-projects; cd demo-projects/unit-java-test;mvn -B -Dtest=CalcTest test");
166+
"git clone https://github.com/elastest/demo-projects; cd demo-projects/unit/junit5-unit-test;mvn -B -Dtest=CalcTest test");
167167
tJob.setParameters(Arrays.asList(param));
168168
tJob.setProject(project);
169169

0 commit comments

Comments
 (0)