Project

General

Profile

Task #1790

Task #1782: CN Replication components should be separated for scalability

Task #1783: Create the ReplicationManager class to manage MN ReplicationTasks

Create ReplicationManagerTest class to test ReplicationManager

Added by Chris Jones over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Nicholas Dexter
Category:
d1_replication
Target version:
Start date:
2011-09-12
Due date:
% Done:

100%

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

Description

ReplicationService has been moved to ReplicationManager, so the corresponding test class needs to be moved and updated. Write a test for createAndQueueTasks() that
1) Initializes a test instance of Hazelcast using a test hazelcast.xml file (see "HazelcastService.init() code":https://code.ecoinformatics.org/code/metacat/trunk/src/edu/ucsb/nceas/metacat/dataone/hazelcast/HazelcastService.java for doing so)
2) Makes a change to the test hzSystemMetadata with a known pid, sysmeta entry
3) Polls the hzReplicationTasks queue to retrieve the tasks that were created
4) Evaluate the tasks and their order to be sure it was what was expected

History

#1 Updated by Nicholas Dexter over 12 years ago

  • % Done changed from 0 to 100
  • translation missing: en.field_remaining_hours set to 0.0

#2 Updated by Nicholas Dexter over 12 years ago

  • Status changed from New to Closed

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)