Skip to content

Fix rocsp unit test flakes #6071

@aarongable

Description

@aarongable
D161252 rocsp-tool.test 88b-5wc SQL:  insert into `certificateStatus` (`id`,`serial`,`status`,`ocspLastUpdated`,`revokedDate`,`revokedReason`,`lastExpirationNagSent`,`ocspResponse`,`notAfter`,`isExpired`,`IssuerID`) values (null,?,?,?,?,?,?,?,?,?,?); [1:"1337" 2:"" 3:0001-01-01 00:00:00 +0000 UTC 4:0001-01-01 00:00:00 +0000 UTC 5:0 6:0001-01-01 00:00:00 +0000 UTC 7:[] 8:1970-01-01 12:00:00 +0000 UTC 9:false 10:0] (1.433177ms)
D161252 rocsp-tool.test qYyKowg SQL:  insert into `certificateStatus` (`id`,`serial`,`status`,`ocspLastUpdated`,`revokedDate`,`revokedReason`,`lastExpirationNagSent`,`ocspResponse`,`notAfter`,`isExpired`,`IssuerID`) values (null,?,?,?,?,?,?,?,?,?,?); [1:"1338" 2:"" 3:0001-01-01 00:00:00 +0000 UTC 4:0001-01-01 00:00:00 +0000 UTC 5:0 6:0001-01-01 00:00:00 +0000 UTC 7:[] 8:1970-01-02 12:00:00 +0000 UTC 9:false 10:0] (988.953µs)
--- FAIL: TestStoreResponse (0.12s)
    client_test.go:115: storing response: storing response: transaction failed: got 4 elements in cluster info address, expected 2 or 3
FAIL
FAIL	github.com/letsencrypt/boulder/cmd/rocsp-tool	0.543s

and

--- FAIL: TestSetAndGet (0.01s)
    rocsp_test.go:50: storing response: transaction failed: got 4 elements in cluster info address, expected 2 or 3
FAIL
FAIL	github.com/letsencrypt/boulder/rocsp	0.042s

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions