Project

General

Profile

« Previous | Next » 

Revision 6431

exercise the shared hazelecast system metadata map and custom loader/store by inserting normally and also directly into the map. both mechanisms allow up to read the same system metadata (only tested on single local instance)

View differences:

D1NodeServiceTest.java
83 83
	 * constructs a "fake" session with a test subject
84 84
	 * @return
85 85
	 */
86
	protected Session getTestSession() {
86
	public Session getTestSession() {
87 87
		Session session = new Session();
88 88
        Subject subject = new Subject();
89 89
        subject.setValue("cn=test,dc=dataone,dc=org");
......
141 141
	/**
142 142
	 * create system metadata with a specified id
143 143
	 */
144
	protected SystemMetadata createSystemMetadata(Identifier id, Subject owner, InputStream object)
144
	public SystemMetadata createSystemMetadata(Identifier id, Subject owner, InputStream object)
145 145
	  throws Exception
146 146
	{
147 147
	    SystemMetadata sm = new SystemMetadata();

Also available in: Unified diff