Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
HardNorth committed Nov 11, 2024
1 parent 9fd7acf commit f15580c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import com.epam.reportportal.service.ReportPortalClient;
import com.epam.reportportal.testng.integration.feature.description.DescriptionFailedTest;
import com.epam.reportportal.utils.MemoizingSupplier;
import com.epam.reportportal.utils.markdown.MarkdownUtils;
import com.epam.reportportal.utils.formatting.MarkdownUtils;
import com.epam.ta.reportportal.ws.model.FinishTestItemRQ;
import com.epam.ta.reportportal.ws.model.launch.StartLaunchRQ;
import java.util.Calendar;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.epam.reportportal.testng;

import com.epam.reportportal.service.statistics.StatisticsService;
import com.epam.reportportal.service.LaunchImpl;
import com.epam.reportportal.testng.integration.feature.shutdown.LaunchFinishShutdownHookRemoveTest;
import com.epam.reportportal.testng.integration.feature.shutdown.LaunchFinishShutdownHookTest;
import com.epam.reportportal.util.test.ProcessUtils;
Expand Down Expand Up @@ -29,7 +29,7 @@ public void test_shutdown_hook_finishes_launch_on_java_machine_exit(final Class<
ServerSocket ss = SocketUtils.getServerSocketOnFreePort();
SocketUtils.ServerCallable serverCallable = new SocketUtils.ServerCallable(ss, Collections.emptyMap(), "files/socket_response.txt");
Callable<Process> clientCallable = () -> ProcessUtils.buildProcess(true, clazz,
Collections.singletonMap(StatisticsService.DISABLE_PROPERTY, "1"), String.valueOf(ss.getLocalPort()));
Collections.singletonMap(LaunchImpl.DISABLE_PROPERTY, "1"), String.valueOf(ss.getLocalPort()));
Pair<List<String>, Process> startResult = SocketUtils.executeServerCallable(serverCallable, clientCallable, 15);
assertThat(startResult.getValue(), notNullValue());
assertThat("First request is a launch start", startResult.getKey().get(0), startsWith("POST /api/v2/test-project/launch"));
Expand Down

0 comments on commit f15580c

Please sign in to comment.