Project

General

Profile

Actions

Bug #21276

closed

lib/controller/handler_test.go TestDiscoveryDocCache is racey

Added by Brett Smith 12 months ago. Updated 7 months ago.

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

Description

time="2023-12-07T19:12:30Z" level=warning msg="error refreshing cache" error="HTTP status 400" path=/discovery/v1/apis/arvados/v1/rest

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

handler_test.go:257:
    // 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

Files


Subtasks 1 (0 open1 closed)

Task #21324: Review 21276-test-raceResolvedTom Clegg12/29/2023Actions

Related issues

Related to Arvados - Bug #21927: lib/controller/handler_test.go TestDiscoveryDocCache fails intermittentlyResolvedTom CleggActions
Actions

Also available in: Atom PDF