Project

General

Profile

Actions

Bug #21927

closed

lib/controller/handler_test.go TestDiscoveryDocCache fails intermittently

Added by Brett Smith 5 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Tests
Story points:
-
Release:
Release relationship:
Auto

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


Subtasks 1 (0 open1 closed)

Task #22013: Review 21927-discovery-doc-testResolvedTom Clegg08/02/2024Actions

Related issues

Related to Arvados - Bug #21276: lib/controller/handler_test.go TestDiscoveryDocCache is raceyResolvedTom CleggActions
Has duplicate Arvados - Bug #21991: Unreliable test HandlerSuite.TestDiscoveryDocCache in lib/controllerDuplicateTom CleggActions
Actions

Also available in: Atom PDF