Project

General

Profile

Task #7065

Story #6723: test v2 MN and CN buildouts

Create functional tests for v2 SystemMetadata updating use cases.

Added by Andrei Buium almost 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Andrei Buium
Category:
-
Target version:
Start date:
2015-04-28
Due date:
% Done:

100%

Estimated time:
0.00 h
Milestone:
None
Product Version:
*
Story Points:
Sprint:

Description

With the MN now in charge of the system metadata, we added MN.updateSystemMetadata(), CN.synchronize(), and CN.updateSystemMetadata().

Write functional tests to make sure a metadata change triggers the expected updates.


Subtasks

Task #7066: Come up with the different use cases that need to be testedClosedDave Vieglais

Task #7067: Write the testsClosedAndrei Buium

History

#1 Updated by Rob Nahf almost 9 years ago

  • Assignee set to Rob Nahf
  • Description updated (diff)

Tests:
1. MN.updateSystemMetadata - rightsholders can update mutable fields
2. MN.updateSystemMetadata - rightsholders cannot update immutable fields
3. MN.updateSystemMetadata - serial version does not matter
4. MN.updateSystemMetadata - non-rightsHolders cannot update
5. MN.updateSystemMetadata - rightsHolders cannot update on non-authoritative MN
6. CN.synchronize - can only be called by authMN or rightHolders(?)
7. CN.updateSystemMetadata - can only be called by CNs
8. CN.synchronize - actually synchronizes the sysmeta (or new unsynced object)
9. CN.updateSystemMetadata - does update the systemMetadata tables.

#2 Updated by Andrei Buium over 8 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 30

Tests are all written and need to be tested against the actual implementations.
(Except CN.synchronize() for now. That is tested as an MN.updateSystemMetadata() consequence, but not by itself since it would require MN certs.)

#3 Updated by Rob Nahf over 8 years ago

  • Assignee changed from Rob Nahf to Andrei Buium

#4 Updated by Andrei Buium over 8 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 30 to 100

All sub-tasks are closed, closing this task. Tests for CN.synchronize and v2 updateSystemMetadata are working properly and passing against current trunk implementation.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)