Skip to content

Commit

Permalink
Merge pull request #1110 from ddebrunner/rest_test_fix
Browse files Browse the repository at this point in the history
Allow concurrent test execution
  • Loading branch information
yvchan committed Jun 23, 2017
2 parents 39794b7 + 3eb31f0 commit 4e5c060
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,10 @@ public void testGetInstances() throws Exception {
public void setupJob() throws Exception {
setupInstance();
if (jobId == null) {
Topology topology = new Topology("JobForRESTApiTest");

Topology topology = new Topology(
getClass().getSimpleName(), // avoid clashes with sub-class tests
"JobForRESTApiTest");

TStream<Integer> source = topology.periodicSource(randomGenerator(), 200, TimeUnit.MILLISECONDS);
TStream<Integer> sourceDouble = source.transform(doubleNumber());
Expand Down

0 comments on commit 4e5c060

Please sign in to comment.