Skip to content

Commit f6012e6

Browse files
committed
fix settings tests
1 parent 8ee3584 commit f6012e6

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

config/settings_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ func TestArgumentPrecedence(t *testing.T) {
9393
cmd.Flags().Int("buffer-size", 0, "Buffer size")
9494
cmd.Flags().Bool("ramp-up", false, "Ramp up loadtest")
9595
cmd.Flags().String("report-path", "", "Report path")
96+
cmd.Flags().String("txs-dir", "", "Txs dir")
97+
cmd.Flags().Uint64("target-gas", 0, "Target gas")
98+
cmd.Flags().Int("num-blocks-to-write", 0, "Number of blocks to write")
9699

97100
// Parse CLI args
98101
if len(tt.cliArgs) > 0 {
@@ -133,6 +136,9 @@ func TestDefaultSettings(t *testing.T) {
133136
Prewarm: false,
134137
RampUp: false,
135138
ReportPath: "",
139+
TxsDir: "",
140+
TargetGas: 10_000_000,
141+
NumBlocksToWrite: 100,
136142
}
137143

138144
if defaults != expected {

0 commit comments

Comments
 (0)