Project

General

Profile

Actions

Idea #7179

closed

[Keep] One set of keepstore volume tests should test all volume types

Added by Tom Clegg over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Radhika Chippada
Category:
Keep
Target version:
Start date:
09/02/2015
Due date:
Story points:
2.0

Description

Currently,
  • volume_unix_test.go tests UnixVolume. The tests are tailored to unix volumes, e.g., they use Mtime() to backdate files.
  • volume_test.go tests handlers, using mock volumes.

When adding a new volume type, we will probably want type-specific tests too, but we should start by running the existing full set of "every volume must do X correctly" tests.

Some tests involve (or at least should involve) testing race conditions; in order to be portable across volume types, these will need [to be wrapped by mock types with] some extra mocking features.


Subtasks 3 (0 open3 closed)

Task #7196: Review branch 7179-generic-volume-testsResolvedTom Clegg09/02/2015Actions
Task #7250: Review 7179-test-mocks branchResolvedRadhika Chippada09/09/2015Actions
Task #7245: Document Volume interface methodsResolvedTom Clegg09/02/2015Actions

Related issues

Related to Arvados - Feature #7159: [Keep] Implement an Azure blob storage volume in keepstoreResolvedTom Clegg08/28/2015Actions
Actions

Also available in: Atom PDF