Project

General

Profile

Actions

Bug #11910

closed

[arvados-ws] Fix racy test case

Added by Tom Clegg almost 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Tests
Target version:
-
Story points:
-

Description

From https://ci.curoverse.com/job/developer-run-tests-remainder/366/console

FAIL: session_v0_test.go:146: v0Suite.TestSubscribe

session_v0_test.go:167:
    c.Check(lg.ObjectUUID, check.Equals, uuid)
... obtained string = "zzzzz-7fd4e-90gj05dqzlgwrk4" 
... expected string = "zzzzz-7fd4e-dpp8ugz03ma4bee" 

session_v0_test.go:168:
    c.Check(lg.EventType, check.Equals, etype)
... obtained string = "update" 
... expected string = "create" 

session_v0_test.go:168:
    c.Check(lg.EventType, check.Equals, etype)
... obtained string = "create" 
... expected string = "blip" 

session_v0_test.go:168:
    c.Check(lg.EventType, check.Equals, etype)
... obtained string = "blip" 
... expected string = "update" 

(I've seen this once recently on my dev box too.)

Actions

Also available in: Atom PDF