Skip to content

Commit

Permalink
Fix SCEP Windows client integration test for Go 1.23
Browse files Browse the repository at this point in the history
  • Loading branch information
hslatman committed Oct 1, 2024
1 parent 69486d3 commit 4545659
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/scep/windows_go1.23_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func TestIssuesCertificateToEmulatedWindowsClientGo123(t *testing.T) {

go func() {
defer wg.Done()
err := c.Run()
err := c.run()
require.ErrorIs(t, err, http.ErrServerClosed)
}()

Expand All @@ -49,7 +49,7 @@ func TestIssuesCertificateToEmulatedWindowsClientGo123(t *testing.T) {
assert.Equal(t, "Step E2E | SCEP Regular w/ Windows Client Intermediate CA", cert.Issuer.CommonName)

// done testing; stop and wait for the server to quit
err = c.Stop()
err = c.stop()
require.NoError(t, err)

wg.Wait()
Expand Down

0 comments on commit 4545659

Please sign in to comment.