Skip to content

Commit

Permalink
#2663 Moving integration tests to "kafka" package
Browse files Browse the repository at this point in the history
  • Loading branch information
gunnarmorling committed Jun 4, 2019
1 parent 78e6452 commit 8f26371
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
import org.apache.kafka.streams.state.Stores;

import io.quarkus.runtime.StartupEvent;

@ApplicationScoped
@Path("/kafkastreams")
public class KafkaStreamsPipeline {
Expand Down Expand Up @@ -145,5 +146,5 @@ public Boolean call() throws Exception {
return topicNames.containsAll(Arrays.asList(expectedTopics));
}
};
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.it.main;
package io.quarkus.it.kafka;

import io.quarkus.test.junit.SubstrateTest;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.it.main;
package io.quarkus.it.kafka;

import java.util.Properties;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.it.main;
package io.quarkus.it.kafka;

import io.quarkus.test.junit.SubstrateTest;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.it.main;
package io.quarkus.it.kafka;

import java.time.Duration;
import java.util.Collections;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.it.main;
package io.quarkus.it.kafka;

import io.quarkus.test.junit.SubstrateTest;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.it.main;
package io.quarkus.it.kafka;

import java.io.StringReader;
import java.time.Duration;
Expand Down Expand Up @@ -159,7 +159,7 @@ private List<ConsumerRecord<Integer, String>> poll(Consumer<Integer, String> con
}

private JsonObject parse(String json) {
try(JsonReader reader = Json.createReader(new StringReader(json))) {
try (JsonReader reader = Json.createReader(new StringReader(json))) {
return reader.readObject();
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.it.main;
package io.quarkus.it.kafka;

import java.io.File;
import java.util.Collections;
Expand Down

0 comments on commit 8f26371

Please sign in to comment.