Project

General

Profile

Actions

Bug #22424

closed

RailsAPI schema controller test "discovery document fields" fails if you built packages

Added by Brett Smith 5 days ago. Updated 4 days ago.

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

Description

When this test checks the value of packageVersion, it assumes that you have not built any packages in your work tree. If you have (e.g., because you're the kind of developer who works on the packaging and built packages to test them), you get the following failure:

  1) Failure:
Arvados::V1::SchemaControllerTest#test_discovery_document_fields [/home/brett/Curii/arvados/services/api/test/functional/arvados/v1/schema_controller_test.rb:34]:                                                                                            
Expected /^unknown$/ to match "3.1.0~dev20241211151631".                                                                       

Subtasks 1 (0 open1 closed)

Task #22425: Review 22424-api-package-version-testResolvedBrett Smith01/03/2025Actions
Actions

Also available in: Atom PDF