File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 7272 SIGNING_SERVER_BIN : ${{ github.workspace }}/signing-server
7373 HSM_PUBLIC_KEY_FILE : ${{ github.workspace }}/public_key.pem
7474 run : |
75- go test -v ./...
75+ sudo go test -v ./...
Original file line number Diff line number Diff line change @@ -59,14 +59,14 @@ func TestSoftHSMConcurrentSignRequests(t *testing.T) {
5959 t .Fatalf ("Failed to create logger: %v" , err )
6060 }
6161
62- ctx , cancel := context .WithCancel (t . Context ())
62+ ctx , cancel := context .WithCancel (context . Background ())
6363 t .Cleanup (func () {
6464 cancel ()
6565 })
6666
6767 go func () {
6868 if err := run (& Config {
69- HSMModule : strings .TrimSpace (string ( hsmModule ) ),
69+ HSMModule : strings .TrimSpace (hsmModule ),
7070 HSMTokenLabel : tokenLabel ,
7171 HSMSlot : - 1 ,
7272 HSMKeyLabel : keyLabel ,
You can’t perform that action at this time.
0 commit comments