diff --git a/tw-tkms-starter/src/test/resources/application.yml b/tw-tkms-starter/src/test/resources/application.yml index 389be41..6d36008 100644 --- a/tw-tkms-starter/src/test/resources/application.yml +++ b/tw-tkms-starter/src/test/resources/application.yml @@ -68,12 +68,13 @@ spring: datasource: url: "jdbc:postgresql://${POSTGRES_TCP_HOST:localhost}:${POSTGRES_TCP_5432}/postgres" username: "postgres" + password: "example-password-change-me" flyway: locations: "classpath:db/migration/postgres" config: activate: on-profile: postgres - + tw-tkms: database-dialect: POSTGRES delete-batch-sizes: "51, 11, 5, 1" @@ -102,7 +103,7 @@ tw-tkms: earliest-visible-messages: enabled: true look-back-period: 10s - table-name: earliestmessage.tw_tkms_earliest_visible_messages + table-name: earliestmessage.tw_tkms_earliest_visible_messages shards-count: 2 table-base-name: earliestmessage.outgoing_message monitoring: @@ -111,6 +112,6 @@ tw-tkms: 1: earliest-visible-messages: table-name: earliestmessage.tw_tkms_earliest_visible_messages - + tw-tkms-test: test-topic: TestTopicEarliestMessage \ No newline at end of file diff --git a/tw-tkms-starter/src/test/resources/docker-compose.yml b/tw-tkms-starter/src/test/resources/docker-compose.yml index a1087ba..b5b9e60 100644 --- a/tw-tkms-starter/src/test/resources/docker-compose.yml +++ b/tw-tkms-starter/src/test/resources/docker-compose.yml @@ -53,6 +53,8 @@ services: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --transaction-isolation=READ-COMMITTED --innodb_autoinc_lock_mode=2" postgres: - image: docker.tw.ee/postgres12 + image: postgres:12-bullseye ports: - "5432" + environment: + POSTGRES_PASSWORD: example-password-change-me