Skip to content

Commit c10de0f

Browse files
committed
Avoid tiny race condition in TLS test
1 parent 9a19360 commit c10de0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/subscriptions/tls-error-events.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ describe("TLS error subscriptions", () => {
104104
expect(tlsError.timingEvents.startTime).to.be.greaterThan(0);
105105
expect(tlsError.timingEvents.connectTimestamp).to.be.greaterThan(0);
106106
expect(tlsError.timingEvents.failureTimestamp)
107-
.to.be.greaterThan(tlsError.timingEvents.connectTimestamp);
107+
.to.be.greaterThanOrEqual(tlsError.timingEvents.connectTimestamp);
108108

109109
expect(tlsError.tlsMetadata.sniHostname).to.equal('localhost');
110110
expect(tlsError.tlsMetadata.ja3Fingerprint!.length).to.equal(32);

0 commit comments

Comments
 (0)