@@ -17,7 +17,7 @@ import (
17
17
)
18
18
19
19
func TestBulkHappyFlows4Ops (t * testing.T ) {
20
- err := os .RemoveAll ("./output/" )
20
+ err := os .RemoveAll ("./data/ output/" )
21
21
require .NoError (t , err )
22
22
err = logging .SetGlobalLogger ("info" , "capital" , "console" , nil )
23
23
require .NoError (t , err )
@@ -89,12 +89,12 @@ func TestBulkHappyFlows4Ops(t *testing.T) {
89
89
resetFlags (RootCmd )
90
90
})
91
91
// validate results
92
- initCeremonies , err := os .ReadDir ("./output" )
92
+ initCeremonies , err := os .ReadDir ("./data/ output" )
93
93
require .NoError (t , err )
94
94
validators := []int {1 , 10 , 100 }
95
95
for i , c := range initCeremonies {
96
96
args := []string {"verify" ,
97
- "--ceremonyDir" , "./output/" + c .Name (),
97
+ "--ceremonyDir" , "./data/ output/" + c .Name (),
98
98
"--validators" , strconv .Itoa (validators [i ]),
99
99
"--withdrawAddress" , "0x81592c3de184a3e2c0dcb5a261bc107bfa91f494" ,
100
100
"--owner" , "0x81592c3de184a3e2c0dcb5a261bc107bfa91f494" ,
@@ -105,15 +105,15 @@ func TestBulkHappyFlows4Ops(t *testing.T) {
105
105
require .NoError (t , err )
106
106
resetFlags (RootCmd )
107
107
}
108
- err = os .RemoveAll ("./output/" )
108
+ err = os .RemoveAll ("./data/ output/" )
109
109
require .NoError (t , err )
110
110
for _ , srv := range servers {
111
111
srv .HttpSrv .Close ()
112
112
}
113
113
}
114
114
115
115
func TestBulkHappyFlows7Ops (t * testing.T ) {
116
- err := os .RemoveAll ("./output/" )
116
+ err := os .RemoveAll ("./data/ output/" )
117
117
require .NoError (t , err )
118
118
err = logging .SetGlobalLogger ("info" , "capital" , "console" , nil )
119
119
require .NoError (t , err )
@@ -184,12 +184,12 @@ func TestBulkHappyFlows7Ops(t *testing.T) {
184
184
resetFlags (RootCmd )
185
185
})
186
186
// validate results
187
- initCeremonies , err := os .ReadDir ("./output" )
187
+ initCeremonies , err := os .ReadDir ("./data/ output" )
188
188
require .NoError (t , err )
189
189
validators := []int {1 , 10 , 100 }
190
190
for i , c := range initCeremonies {
191
191
args := []string {"verify" ,
192
- "--ceremonyDir" , "./output/" + c .Name (),
192
+ "--ceremonyDir" , "./data/ output/" + c .Name (),
193
193
"--validators" , strconv .Itoa (validators [i ]),
194
194
"--withdrawAddress" , "0x81592c3de184a3e2c0dcb5a261bc107bfa91f494" ,
195
195
"--owner" , "0x81592c3de184a3e2c0dcb5a261bc107bfa91f494" ,
@@ -200,15 +200,15 @@ func TestBulkHappyFlows7Ops(t *testing.T) {
200
200
require .NoError (t , err )
201
201
resetFlags (RootCmd )
202
202
}
203
- err = os .RemoveAll ("./output/" )
203
+ err = os .RemoveAll ("./data/ output/" )
204
204
require .NoError (t , err )
205
205
for _ , srv := range servers {
206
206
srv .HttpSrv .Close ()
207
207
}
208
208
}
209
209
210
210
func TestBulkHappyFlows10Ops (t * testing.T ) {
211
- err := os .RemoveAll ("./output/" )
211
+ err := os .RemoveAll ("./data/ output/" )
212
212
require .NoError (t , err )
213
213
err = logging .SetGlobalLogger ("info" , "capital" , "console" , nil )
214
214
require .NoError (t , err )
@@ -279,12 +279,12 @@ func TestBulkHappyFlows10Ops(t *testing.T) {
279
279
resetFlags (RootCmd )
280
280
})
281
281
// validate results
282
- initCeremonies , err := os .ReadDir ("./output" )
282
+ initCeremonies , err := os .ReadDir ("./data/ output" )
283
283
require .NoError (t , err )
284
284
validators := []int {1 , 10 , 100 }
285
285
for i , c := range initCeremonies {
286
286
args := []string {"verify" ,
287
- "--ceremonyDir" , "./output/" + c .Name (),
287
+ "--ceremonyDir" , "./data/ output/" + c .Name (),
288
288
"--validators" , strconv .Itoa (validators [i ]),
289
289
"--withdrawAddress" , "0x81592c3de184a3e2c0dcb5a261bc107bfa91f494" ,
290
290
"--owner" , "0x81592c3de184a3e2c0dcb5a261bc107bfa91f494" ,
@@ -295,15 +295,15 @@ func TestBulkHappyFlows10Ops(t *testing.T) {
295
295
require .NoError (t , err )
296
296
resetFlags (RootCmd )
297
297
}
298
- err = os .RemoveAll ("./output/" )
298
+ err = os .RemoveAll ("./data/ output/" )
299
299
require .NoError (t , err )
300
300
for _ , srv := range servers {
301
301
srv .HttpSrv .Close ()
302
302
}
303
303
}
304
304
305
305
func TestBulkHappyFlows13Ops (t * testing.T ) {
306
- err := os .RemoveAll ("./output/" )
306
+ err := os .RemoveAll ("./data/ output/" )
307
307
require .NoError (t , err )
308
308
err = logging .SetGlobalLogger ("info" , "capital" , "console" , nil )
309
309
require .NoError (t , err )
@@ -374,12 +374,12 @@ func TestBulkHappyFlows13Ops(t *testing.T) {
374
374
resetFlags (RootCmd )
375
375
})
376
376
// validate results
377
- initCeremonies , err := os .ReadDir ("./output" )
377
+ initCeremonies , err := os .ReadDir ("./data/ output" )
378
378
require .NoError (t , err )
379
379
validators := []int {1 , 10 , 100 }
380
380
for i , c := range initCeremonies {
381
381
args := []string {"verify" ,
382
- "--ceremonyDir" , "./output/" + c .Name (),
382
+ "--ceremonyDir" , "./data/ output/" + c .Name (),
383
383
"--validators" , strconv .Itoa (validators [i ]),
384
384
"--withdrawAddress" , "0x81592c3de184a3e2c0dcb5a261bc107bfa91f494" ,
385
385
"--owner" , "0x81592c3de184a3e2c0dcb5a261bc107bfa91f494" ,
@@ -390,7 +390,7 @@ func TestBulkHappyFlows13Ops(t *testing.T) {
390
390
require .NoError (t , err )
391
391
resetFlags (RootCmd )
392
392
}
393
- err = os .RemoveAll ("./output/" )
393
+ err = os .RemoveAll ("./data/ output/" )
394
394
require .NoError (t , err )
395
395
for _ , srv := range servers {
396
396
srv .HttpSrv .Close ()
0 commit comments