Skip to content

Commit

Permalink
Fix tests setup
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomiej.zylinski committed Jun 10, 2024
1 parent bcb9aaa commit b916f2e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import otter.jet.store.Filters;
import otter.jet.store.MessageStore;

@TestPropertySource(properties = {"read.mode=plaintext", "read.subject=plaintext"})
@TestPropertySource(properties = {"read.mode=plaintext", "read.subject=plaintext", "read.beginTimestamp="})
class PlainTextMessageReaderTest extends AbstractIntegrationTest {

private static final LocalDateTime ignoredMessageTimestamp =
Expand Down
3 changes: 2 additions & 1 deletion src/test/java/otter/jet/proto/AnyProtoMessageReaderTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
properties = {
"read.mode=proto",
"read.subject=any_person",
"read.proto.pathToDescriptor=src/test/resources/person.desc"
"read.proto.pathToDescriptor=src/test/resources/person.desc",
"read.beginTimestamp="
})
class AnyProtoMessageReaderTest extends AbstractIntegrationTest {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"read.mode=proto",
"read.subject=typed_person",
"read.proto.messageTypeName=protobuf.Person",
"read.proto.pathToDescriptor=src/test/resources/person.desc"
"read.proto.pathToDescriptor=src/test/resources/person.desc",
"read.beginTimestamp="
})
class SimpleProtoMessageReaderTest extends AbstractIntegrationTest {

Expand Down
1 change: 1 addition & 0 deletions src/test/resources/application-local.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
read:
mode: "proto"
beginTimestamp: ""
proto:
pathToDescriptor: "src/test/resources/person.desc"
subject: "*"

0 comments on commit b916f2e

Please sign in to comment.