diff --git a/internal/api/rust/rust.go b/internal/api/rust/rust.go index b1b2e63..8d2baeb 100644 --- a/internal/api/rust/rust.go +++ b/internal/api/rust/rust.go @@ -79,7 +79,6 @@ func (c *RustClient) Login(t api.Test, opts api.ClientCreationOpts) error { if err != nil { return fmt.Errorf("Client.Login failed: %s", err) } - c.FFIClient.Destroy() return nil } diff --git a/tests/client_connectivity_test.go b/tests/client_connectivity_test.go index a259790..e1f7b97 100644 --- a/tests/client_connectivity_test.go +++ b/tests/client_connectivity_test.go @@ -32,7 +32,7 @@ func RunGoProcess(t *testing.T, templateFilename string, templateData any) (*exe if err != nil { api.Fatalf(t, "failed to parse template %s : %s", templateFilename, err) } - scriptFile, err := os.CreateTemp("./templates", "script_*.go") // os.CreateTemp(".", "script_*.go") + scriptFile, err := os.CreateTemp("./templates", "script_*.go") if err != nil { api.Fatalf(t, "failed to open temporary file: %s", err) } @@ -58,7 +58,7 @@ func RunGoProcess(t *testing.T, templateFilename string, templateData any) (*exe // Test that if the client is restarted BEFORE getting the /keys/upload response but // AFTER the server has processed the request, the keys are not regenerated (which would // cause duplicate key IDs with different keys). Requires persistent storage. -func TestSigkillBeforeKeysUploadResponse(t *testing.T) { +func xTestSigkillBeforeKeysUploadResponse(t *testing.T) { for _, clientType := range []api.ClientType{{Lang: api.ClientTypeRust, HS: "hs1"}} { // {Lang: api.ClientTypeJS} t.Run(string(clientType.Lang), func(t *testing.T) { var mu sync.Mutex