Project

General

Profile

Task #684

Story #913: Verify CN-CN replication is working

Write tests for CN-CN replication

Added by Dave Vieglais over 14 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
d1_integration
Start date:
2011-12-12
Due date:
% Done:

100%

Milestone:
CCI-1.0.0
Product Version:
*
Story Points:
Sprint:

Description

Verify replication is operational. Insert and modify at a node should be replcated to the other nodes. Need to test this operates as expected. Using the Metacat MN API exposed by the CN service (hidden in production), use a DataONE client to create() content on a CN. Poll the CN and the other CNs for the new object. Track the time that it takes for the transfer to complete. Verify that the system metadata and the object (science metadata) are replicated as expeted.


Subtasks

Task #2132: create CNCNReplicationITRejected

History

#1 Updated by Chad Berkley about 14 years ago

  • Parent task set to #913

#2 Updated by Dave Vieglais about 14 years ago

  • Start date set to 2010-10-07
  • Tracker changed from Bug to Task

#3 Updated by Rob Nahf almost 13 years ago

  • Subject changed from Verify replication is operational to Write tests for CN-CN replication
  • Category changed from Metacat to d1_integration
  • Assignee changed from Chad Berkley to Rob Nahf
  • Milestone set to CCI-1.0.0

#4 Updated by Rob Nahf almost 13 years ago

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

It was suggested to avoid cn.create as the way to test, because that method is not exposed (callable) via the cn-rest-service.
Instead, compare conformity of existing objects on each of the CN instances.

#5 Updated by Rob Nahf almost 13 years ago

  • translation missing: en.field_remaining_hours deleted (0.0)

created basic test for objectinfo consistency between CN instances.

Will probably need refinements - there's a good chance that objectlists are not completely identical.

filter out objects modified in the last 5 minutes.
should all fields be used for the comparison?
should I have more subtests, to be more informative (use parameterized tests, in that case).

Will run when we have a couple CNs synchronizing.

#6 Updated by Rob Nahf almost 13 years ago

  • Status changed from In Progress to Closed
  • translation missing: en.field_remaining_hours set to 0.0

#7 Updated by Rob Nahf almost 13 years ago

successfully ran CNCNReplicationIT against cn-dev & cn-dev-3.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)