Commit 75b0e66d authored by mbaxter's avatar mbaxter Committed by GitHub

cannon: Bump go tests to go1.22 (#12214)

* cannon: Update cannon go test program versions

* cannon: Allow more steps for multithreaded program
parent 5bd72f69
...@@ -41,7 +41,7 @@ func TestInstrumentedState_MultithreadedProgram(t *testing.T) { ...@@ -41,7 +41,7 @@ func TestInstrumentedState_MultithreadedProgram(t *testing.T) {
var stdOutBuf, stdErrBuf bytes.Buffer var stdOutBuf, stdErrBuf bytes.Buffer
us := NewInstrumentedState(state, oracle, io.MultiWriter(&stdOutBuf, os.Stdout), io.MultiWriter(&stdErrBuf, os.Stderr), testutil.CreateLogger(), nil) us := NewInstrumentedState(state, oracle, io.MultiWriter(&stdOutBuf, os.Stdout), io.MultiWriter(&stdErrBuf, os.Stderr), testutil.CreateLogger(), nil)
for i := 0; i < 1_000_000; i++ { for i := 0; i < 2_000_000; i++ {
if us.GetState().GetExited() { if us.GetState().GetExited() {
break break
} }
......
module alloc module alloc
go 1.21 go 1.22
toolchain go1.21.1 toolchain go1.22.0
require github.com/ethereum-optimism/optimism v0.0.0 require github.com/ethereum-optimism/optimism v0.0.0
......
module claim module claim
go 1.21 go 1.22
toolchain go1.21.1 toolchain go1.22.0
require github.com/ethereum-optimism/optimism v0.0.0 require github.com/ethereum-optimism/optimism v0.0.0
......
module entry module entry
go 1.21 go 1.22
toolchain go1.22.0
module hello module hello
go 1.20 go 1.22
toolchain go1.22.0
module multithreaded module multithreaded
go 1.21 go 1.22
toolchain go1.22.0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment