Skip to content

Commit

Permalink
Disabled tests
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-v committed Apr 27, 2021
1 parent 40f7c27 commit 03b82c4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 24 deletions.
13 changes: 0 additions & 13 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -157,19 +157,6 @@
</pluginRepository>
</pluginRepositories>

<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>

<profiles>
<profile>
<id>deploy2Github</id>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,18 @@
import io.scalecube.trace.service.reporter.throughput.ThroughputListenerImpl;
import io.scalecube.trace.service.reporter.throughput.ThroughputReporter;
import java.time.Duration;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

public class LatencyReporterTest {

private static final String testName = EnviromentVariables.testName("TEST_NAME");
private static final String commitId = EnviromentVariables.sha("1");
private static final String owner = EnviromentVariables.owner("scalecube");
private static final String repo = EnviromentVariables.repo("github-gateway");

@Disabled
@Test
void testPerformance() throws Exception {
final String testName = EnviromentVariables.testName("TEST_NAME");
final String commitId = EnviromentVariables.sha("1");
final String owner = EnviromentVariables.owner("scalecube");
final String repo = EnviromentVariables.repo("github-gateway");

// Measure latency
LatencyReporter latency =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,20 @@

import io.scalecube.trace.EnviromentVariables;
import io.scalecube.trace.TraceReporter;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

class TraceReporterTest {

private static final String owner = EnviromentVariables.owner("scalecube");
private static final String repo = EnviromentVariables.repo("github-gateway");
private static final String commitId = EnviromentVariables.sha("1");
private static final String traceReportUrl =
EnviromentVariables.url("https://scalecube-robokit.exchange.om2.com/traces");

@Disabled
@Test
void testFlow() throws Exception {
final String owner = EnviromentVariables.owner("scalecube");
final String repo = EnviromentVariables.repo("github-gateway");
final String commitId = EnviromentVariables.sha("1");
final String traceReportUrl =
EnviromentVariables.url("https://scalecube-robokit.exchange.om2.com/traces");

try (TraceReporter reporter = new TraceReporter()) {
reporter.addY("latency-1", "latency", 72);
reporter.addY("latency-1", "latency", 63);
Expand Down

0 comments on commit 03b82c4

Please sign in to comment.