Project

General

Profile

Actions

Bug #21927

open

lib/controller/handler_test.go TestDiscoveryDocCache fails intermittently

Added by Brett Smith 11 days ago.

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

Description

time="2024-06-20T21:26:27Z" level=warning msg="error refreshing cache" error="HTTP status 400" path=/discovery/v1/apis/arvados/v1/rest

----------------------------------------------------------------------
FAIL: handler_test.go:120: HandlerSuite.TestDiscoveryDocCache

handler_test.go:278:
    // Only one attempt to re-fetch (holdReqs ensured the first
    // update took long enough for the last incoming request to
    // arrive)
    c.Check(countRailsReqs(), check.Equals, reqsBefore+1)
... obtained int = 10
... expected int = 11

Note that we previously had #21276 to do some work on this. As far as I'm aware this is the first time we've seen a problem since that branch was merged six months ago.


Files


Related issues

Related to Arvados - Bug #21276: lib/controller/handler_test.go TestDiscoveryDocCache is raceyResolvedTom CleggActions
Actions #1

Updated by Brett Smith 11 days ago

  • Related to Bug #21276: lib/controller/handler_test.go TestDiscoveryDocCache is racey added
Actions

Also available in: Atom PDF