Forgot to configure flags (#7701)

This commit is contained in:
Giulio rebuffo 2023-06-10 08:53:24 +02:00 committed by GitHub
parent 1e575ea172
commit 88410559c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -75,6 +75,7 @@ COPY --from=builder /app/build/bin/state /usr/local/bin/state
COPY --from=builder /app/build/bin/txpool /usr/local/bin/txpool
COPY --from=builder /app/build/bin/verkle /usr/local/bin/verkle
COPY --from=builder /app/build/bin/caplin-phase1 /usr/local/bin/caplin-phase1
COPY --from=builder /app/build/bin/caplin-regression /usr/local/bin/caplin-regression
EXPOSE 8545 \
8551 \

View File

@ -27,6 +27,8 @@ func main() {
step := flag.Int("step", 32, "how often to log performance")
pprof := flag.Bool("pprof", true, "turn on profiling")
loop := flag.Bool("loop", true, "loop the test in an infinite loop")
testsDir := flag.String("testsDir", "cmd/caplin-regression/caplin-tests", "directory to the tests")
all := flag.Bool("all", true, "loop trhough all the test")
flag.Parse()
@ -35,7 +37,7 @@ func main() {
return
}
r, err := regression.NewRegressionTester(
"cmd/caplin-regression/caplin-tests",
*testsDir,
)
if *pprof {
// Server for pprof