Project

General

Profile

« Previous | Next » 

Revision 9457

merge from 2.0 branch: initialize mock cn for test to run successfully.

View differences:

test/edu/ucsb/nceas/metacat/dataone/hazelcast/HazelcastServiceTest.java
97 97
			Identifier pid = null;
98 98
			// create the systemMetadata the normal way
99 99
			CNodeServiceTest cnst = new CNodeServiceTest("testRegisterSystemMetadata");
100
			cnst.setUp();
100 101
			pid = cnst.testRegisterSystemMetadata();
101 102
			assertNotNull(pid);
102 103
			// look it up from the "shared" map
......
113 114
		try {
114 115
			// create the systemMetadata and save to map
115 116
			CNodeServiceTest cnst = new CNodeServiceTest("testGetSystemMetadata");
117
			cnst.setUp();
116 118
			Session session = cnst.getTestSession();
117 119
			Identifier guid = new Identifier();
118 120
			guid.setValue("testCreate." + System.currentTimeMillis());

Also available in: Unified diff