Skip to content

Commit

Permalink
fixed mongo tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pavansharma36 committed Dec 7, 2023
1 parent 93d4763 commit dc6aee5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion workflow-api/src/test/resources/simplelogger.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
org.slf4j.simpleLogger.defaultLogLevel=warn
org.slf4j.simpleLogger.defaultLogLevel=info
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ public WorkflowAdapter adapter() {
return new WorkflowAdapterBuilder()
.withPersistenceAdapterBuilder(MongoDbPersistanceAdapterBuilder.builder("test", client)
.withNamespace(namespace))
.withScheduleAdapterBuilder(new InmemoryScheduleAdapterBuilder().withNamespace(namespace))
.withQueueAdapterBuilder(new InmemoryQueueAdapterBuilder().withNamespace(namespace))
.withScheduleAdapterBuilder(new InmemoryScheduleAdapterBuilder())
.withQueueAdapterBuilder(new InmemoryQueueAdapterBuilder())
.withSchedulePollDelayGenerator(new FixedPollDelayGenerator(Duration.ofMillis(100L)))
.withQueuePollDelayGenerator(new FixedPollDelayGenerator(Duration.ofMillis(100L)))
.build();
Expand Down

0 comments on commit dc6aee5

Please sign in to comment.