Skip to content

Commit

Permalink
extend test time
Browse files Browse the repository at this point in the history
  • Loading branch information
awnumar committed May 20, 2020
1 parent 6540007 commit a5d41f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions examples/deadlock/poc.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ func openVerify(lock *memguard.Enclave, exp []byte) error {
}
defer lb.Destroy()
if !bytes.Equal(lb.Bytes(), exp) {
fmt.Println(lb.Bytes(), exp)
return errors.New("open verify fail")
}
return nil
Expand Down
2 changes: 1 addition & 1 deletion examples/deadlock/poc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"time"
)

const duration = 30 * time.Second
const duration = 2 * time.Minute

func TestPanicsPoC(t *testing.T) {
sigs := make(chan os.Signal, 1)
Expand Down

0 comments on commit a5d41f2

Please sign in to comment.