Project

General

Profile

Actions

Bug #22424

closed

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

Added by Brett Smith 4 days ago. Updated 3 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 #1

Updated by Brett Smith 4 days ago

22424-api-package-version-test @ 9123f08b81a4ac07257d7bfa089f693a29efa02f - developer-run-tests: #4582

  • All agreed upon points are implemented / addressed.
    • Yes
  • Anything not implemented (discovered or discussed during work) has a follow-up story.
    • N/A
  • Code is tested and passing, both automated and manual, what manual testing was done is described
    • Only adds tests - see above
  • Documentation has been updated.
    • N/A
  • Behaves appropriately at the intended scale (describe intended scale).
    • No change
  • Considered backwards and forwards compatibility issues between client and server.
    • No change
  • Follows our coding standards and GUI style guidelines.
    • Yes
Actions #2

Updated by Brett Smith 4 days ago

  • Subtask #22425 added
Actions #3

Updated by Tom Clegg 3 days ago

LGTM, thanks.

Actions #4

Updated by Brett Smith 3 days ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF