Skip to content

Commit 6d4e9b0

Browse files
committed
Update application.yml
1 parent eba05f7 commit 6d4e9b0

File tree

1 file changed

+19
-15
lines changed

1 file changed

+19
-15
lines changed

simulator/src/main/resources/application.yml

+19-15
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,27 @@ spring:
55
jackson:
66
mapper:
77
sort-properties-alphabetically: true
8-
h2:
9-
console:
10-
enabled: true
11-
path: /h2-console
8+
#h2:
9+
# console:
10+
# enabled: true
11+
# path: /h2-console
1212
datasource:
13-
url: jdbc:h2:mem:byzzbench
14-
username: sa
15-
password:
16-
driver-class-name: org.h2.Driver
13+
#url: jdbc:h2:mem:byzzbench
14+
#username: sa
15+
#password:
16+
#driver-class-name: org.h2.Driver
17+
url: jdbc:postgresql://localhost:5432/byzzbench
18+
username: postgres
19+
password: byzzbench
20+
driver-class-name: org.postgresql.Driver
1721
jpa:
18-
database-platform: org.hibernate.dialect.H2Dialect
1922
generate-ddl: true
2023
show-sql: true
2124
defer-datasource-initialization: true
25+
#database-platform: org.hibernate.dialect.H2Dialect
26+
database-platform: org.hibernate.dialect.PostgreSQLDialect
27+
hibernate:
28+
ddl-auto: update
2229

2330
springdoc:
2431
swagger-ui:
@@ -28,10 +35,9 @@ springdoc:
2835

2936
# ByzzBench configuration
3037
byzzbench:
31-
autostart: true # Whether to start running scenarios automatically on startup
32-
numScenarios: 1000
33-
#outputPath: /tmp/byzzbench # The path to write the output to
34-
outputSchedules: buggy # which schedules to write to file? one of 'all', 'buggy' or 'none'
38+
autostart: true # Whether to start running a scenario campaign on startup.
39+
numScenarios: 100 # Number of scenarios to run in the campaign.
40+
saveSchedules: buggy # which schedules to save? 'all', 'buggy' or 'none'.
3541

3642
scheduler:
3743
id: "byzzfuzz" # The ID of the scheduler to use
@@ -40,7 +46,6 @@ byzzbench:
4046
maxMutateMessages: 0 # Maximum number of messages to mutate per scenario
4147
deliverTimeoutWeight: 1 # The weight for scheduler to trigger a timeout
4248
deliverMessageWeight: 99 # The weight for scheduler to deliver a message
43-
deliverClientRequestWeight: 99 # The weight for scheduler to deliver a client request to a replica
4449
dropMessageWeight: 0 # The weight for scheduler to drop a message
4550
mutateMessageWeight: 0 # The weight for scheduler to mutate a message
4651
params: # additional parameters for the scheduler
@@ -62,4 +67,3 @@ byzzbench:
6267
minEvents: 500 # check if N events have been scheduled. If so, can terminate
6368
minRounds: 5 # check if N rounds have elapsed. If so, can terminate
6469
samplingFrequency: 1 # check if should terminate every N scheduler decisions
65-

0 commit comments

Comments
 (0)