Skip to content

Commit

Permalink
attemp couchbase multiple times while running the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
osoykan committed Apr 23, 2024
1 parent 691294d commit 38a2428
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,14 @@ class TestSystemConfig : AbstractProjectConfig() {
TestSystem(baseUrl = "http://localhost:8001")
.with {
httpClient()
couchbase { CouchbaseSystemOptions("Stove") }
couchbase {
CouchbaseSystemOptions(
"Stove",
containerOptions = CouchbaseContainerOptions(tag = "latest") {
withStartupAttempts(3)
}
)
}
kafka {
KafkaSystemOptions(
containerOptions = KafkaContainerOptions(tag = "latest") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ class Setup : AbstractProjectConfig() {
defaultBucket = TEST_BUCKET,
containerOptions = CouchbaseContainerOptions(
tag = "latest"
)
) {
withStartupAttempts(3)
}
).migrations {
register<DefaultMigration>()
}
Expand Down

0 comments on commit 38a2428

Please sign in to comment.