UnstableChanges

Summary

  1. Renamed EnvironmentStatusTest to ...TestImpl, so maven doesn't see it as a unit test.
  2. switched testSetReplicationStatus_dateModified to use a non-auth MN to test status changes on, just in case this causes problems with replication (this won't fix sysmeta date change issues though)
  3. Incrementing a few object pids to tests don't use objects that are too old - just in case this is causing a current issue with sysmeta dates seemingly getting updated.
  4. log the pid and dates that do not match when failures occur.
  5. don't test with cnSandboxUNM1 - seems to be having issues with keep HZ connections alive and passing tests.
  6. getting test errors for .14, try .15 as object suffix?
  7. include write permission for rightsholder
  8. Added public-readable to access policy for created test objects
  9. Another logging improvement - displaying created auth token
  10. Fixed a few logging messages
  11. Added an update test to the MN auth token tests
  12. Switched auth token tests to using the more complicated ORCID rather than the basic "testId" subject
  13. Reverted general log level back to WARN, ContextAwareTestCaseDataone logger still at INFO level
  14. Part of a refactor to query results checking - should've been in cluded in last commit
  15. Added a query test for auth tokens, added an MN create test using an auth token to create on the MN, not just for authentication/authorization.
  16. Fixed auth token test for MN - it needed to just get the v2 member nodes
  17. Adding private key filename property to STAGE test properties
  18. Changed logging level for d1_integration to INFO, re-added all CNs into token auth test
  19. Updated dependencies to 2.1.0 snapshot in d1_integration pom
  20. Added debug logging for auth token created
  21. No need for skipping CNs since test.dataone.org key should work for all of them.
  22. Leaving the public cert property null (rather than empty) just in case
  23. Updated some failure log messages
  24. public cert property can actually be null, it's not needed to generate the token
  25. sandbox test properties public cert needed to point to a different file (not the key file - that contains the private key only).
  26. Changing the private key and public cert parameters - they need to point to the server's (a CN server's) private/public key pair.
  27. Typos in sandbox test properties file
  28. Added private key and public cert properties to sandbox test properties file so we can use the auth token tests.
  29. fixed a couple comment typos
  30. Added a test that hits echoCredentials with the token.
  31. Improved some error messages
  32. Bug fix - the MN call wasn't being done as the CN.
  33. Modified teh MN isAuthorized test to also procure a test object (get or create) and to do so as the CN (to isolate the isAuthorized part for this test).
  34. Changed the functionality of the CN auth test to create an object readable by the token subject (AccessPolicy), but created by the CN subject (submitter/rightsHolder).
  35. Bug fix - incorrect property name in TestSettings fixed
  36. Modified TestSettings to be able to pick up and set cn.server.privatekey.filename and cn.server.publiccert.filename from test properties files to Settings properties.
  37. Added a test against MN create/isAuthorized
  38. Added some logging and cleaned up some imports.
  39. Added some new classes for auth token tests (mostly placeholders at the moment, untested).
  40. Added d1_portal to d1_integration pom.xml dependencies so we can use the TokenGenerator for tests.
  41. Improved a bunch of log/error messages on log tests
  42. Modified a second log test to skip over MNs on which objects cannot be created.
  43. Another tweak to resolve test - fixed the logger being used for this class so we can see the INFO messages and removed a break statement causing problems with the logic.
  44. Performance improvement for last modification to resolve test
  45. Added code to a resolve api test to iterate through the object list a few more times not only if getSysmeta() fails, but also if the authMN of the object in question is not found in the environment.
  46. Modified the aggregation test to disregard MNs on which create is disabled.
  47. Improving on some of the environment tests - removing a couple unnecessary tests for nodes that are registered but down. Fixed some typos. Improved a few log messages.
  48. Adding some tests that can be run to check on the status of an environment (stuff like which nodes are down, which nodes don't have sync or replication turned on, or to check if sync/repl/services don't match between CN & MN Node documents).
  49. Small change that should've been committed with the last fix to create a test object instead of procure one.
  50. Found a subtle race condition in a test and fixed it.
  51. Need to call v2 /log on nodes that support it and v1 /log on v1 nodes because they only support pidFilter.
  52. Added an extra error message around creating a log entry
  53. turned off the v1-only bypass in SANDBOX. better late than never.
  54. added v1-only flag to STAGE properties files (as was done for SANDBOX)
  55. adding an ignore to one of the SlowIT tests (testGetLogRecords_eventFiltering) because it was causing severe delays in test environment.
  56. Added an extra get() call - there was a bug in metacat and initial create() logs weren't written. Since the test code procures rather than creates the objects, the extra get() should add logs to make the test more resistant.
  57. Performance improvement for pidFiltering test and added some more comments to clear up what's going on in the test.
  58. Committed an extra certificate/subject log message for debuggging purposes
  59. Updated the d1_integration pom.xml file to depend on d1_test_resources version 2.0.0 rather than 1.1.0
  60. Added a warning log message if only v1 MNs are available to work with.
  61. Just removed a variable (that won't change anything) so local cnSubmitter points to the ContextAwareTestCaseDataone variable
  62. Removed the requirement for v2 MNs from LogAggregationFunctionalTestImplementations - switched to using the highest endpoint version available for the MN where possible, falling back to using the v1 endpoint where it became too expensive to check both capabilities per node available.
  63. added a property nodelist.contains.v2.mn that to set the nodeListContainsV2Mn property. Set the property to false in the context.SANDBOX.test.properties. Adjusted TestSettings to allow the property to be set from the command line (-D arguments)
  64. Added checks in a few functional test implementations for the ContextAwareTestCaseDataone property that is set based on whether we have v2 nodes in the environment. Some tests will be skipped without v2 nodes in environment.
  65. Added a nodeListContainsV2Mn property. It was being set automatically based on the CN node list, but disabled that for now per a discussion with rob since we may just change it to be an environment property.
  66. added optimization to the createTestObject method in SidCNTestImpl to minimize wait-to-sync time.
  67. Added a more specific error message and modified some v2 node checks to be even more strict
  68. Reverted recent change - object creation test code, in the case that we have a v2 CN.create() with no v2 MNs in the environment, will not fall back to a v1 MN for the authMN because this changes the expected behavior of some tests (tests that are expecting a v2-specific object to be created, aka an object with a v2 authMN). Better that it fail for not finding a v2 authMN than sneakily doing a v1 create where a v2 create is expected.
  69. Object creation test code fix - in the case that we have a v2 CN.create() with no v2 MNs in the environment, fall back to a v1 MN for the authMN.
  70. Improved a few log messages.
  71. Removed a line that shouldn't have been part of last commit
  72. Fixed a bad typo
  73. changed dataone.it.cnode.submitter.cn to ORC, due to taking UNM Sandbox CN out of service.
  74. UNM cn has been temporarily removed from Sandbox environment (no longer in node list) and we can't use the UNM cn cert to create objects. Switching to the UCSB cert.
  75. Added some error logging
  76. Added a warning (troubleshooting step if required) to the d1_integration README. Also fixed some numbering.
  77. Web Tester fix - web test annotations for test labels and test descriptions were not being applied in many cases. The problem was just in cases with multiple @WebTestImplementation classes; iterating over the possible implementation classes and checking for the test method should've continued looping on failure to find said method - as it could've been located in the next implementation class.
  78. Improved some output for web tester with slightly (very slightly) less developery ignore comments
  79. Fixed an edge case that could mess up a replica being fetched if we ever ended up with a v2 MN that does not support the v1 API.
  80. Added a few annotations for the webtester's documentation
  81. Messages improved inside of some exceptions thrown from replica fetching, also bumped up the maximum replication wait in the CN synchronize test (won't affect test run time if replication is no over-burdened)
  82. Minor log message fix
  83. Made a change to the RetryHandler's last iteration: we don't want to throw a TryAgainException outside of the RetryHandler, so attempt to throw the exception encapsulated by the TryAgainException if there is one
  84. Bumped up the maximum replication time yet again since it sometimes takes forever in practice (if replica for pid is resubmitted)
  85. Performance fix - decreased the desired number of replicas in a couple tests to the number of valid targets minus the origin MN, so CN won't need to re-attempt any replication hopelessly
  86. Bumped up the maximum replication time yet again since it took just over 40 minutes in practice (if replica for pid is resubmitted)
  87. Added a sanity check to testUpdateSystemMetadata_CNCertNonAuthMN
  88. Added a more careful non-auth MN check to a test, it may have been failing in some cases.
  89. Minor log message change
  90. Added a few log messages, fixed another log message, added a slight performance improvement.
  91. Slight performance improvement and logic fix to the sysmeta sync check
  92. Bumped up the maximum replication wait time in another test (affects worst-case scenario only since we poll sysmeta)
  93. Bumped up the maximum replication wait time in a test (affects worst-case scenario only since we poll sysmeta)
  94. Log message fix
  95. Improved logging in testUpdateSystemMetadata_CNCertNonAuthMN and bumped up the max replication wait time a few minutes.
  96. Fixed a couple typos from last commit
  97. Rewrote part of a log access test to make it less susceptible to read time-outs - split up cn subject calls (individual pid filters) rather than doing the paged getLogRecords.
  98. Performance improvement - Completely refactored V1/V2 interop tests to create all objects, then test for sync/replication before running the tests. This way we wait the maximum time once (worst case) and not for each created object.
  99. Made replica fetching a bit more specific in the setReplicationStatus test case, switched possible MNs for updateReplicationStatus replica check to v2 MNs (shouldn't affect test, just save a bit of time)
  100. Modified another replica check on the test modifiying replica status to remove the necessity for a completed state.
  101. Modified the replica check on the test modifiying replica statuses to remove the necessity for a completed state.
  102. Improved error message
  103. Modified an interface resolution call in CommonCallAdapter
  104. Performance improvements - short circuiting a handful of extra checks.
  105. Performance improvements (switch to polling up to a total wait time rather than full wait time) and added some stricter replica checks to the polling.
  106. Improved some performance - for object creation onto an MN with expected sync to CN, switched to polling for the CN sysmeta on intervals instead of waiting
  107. Polling cn.getSysmeta for sysmeta with replicas will retry if no MN replicas are found
  108. Polling cn.getSysmeta for sysmeta with replicas will retry if no v2 MN replicas are found
  109. Increased the max wait time for sync / replication to happen, since we're now polling for the updated sysmeta, it won't increase the run time of the tests except when CN sync is under heavy load and sync is trying to catch up anyway
  110. Split v1/v2 interoperability tests' sync and replication checks into separate steps to get better error reports. Also improved performance of tests by using polling approach and applied it to those steps separately.
  111. fixed 2 typos
  112. Updated SystemMetadataFunctionalTestImplementation, added rob's RetryHandler to rest of methods that need to wait on sync/replication, modified some assertions and logging
  113. added Identifier.getValue() to logging and assert messages. Created a RetryHandler class to avoid compulsory 10 and 5 minute waits on synchronization.
  114. Reverting an accidental debugging change
  115. Some more logging improvements
  116. Added a bit of extra logging
  117. Tweaked number of replica targets required
  118. Bug fix - added a catch block so we can skip nodes whose getCapabilities endpoint is down
  119. Added some more logging to testUpdateSystemMetadata_CNCertNonAuthMN
  120. Removed an out-of-date assertion
  121. Added some more logging to testUpdateSystemMetadata_CNCertNonAuthMN and removed v1 nodes as replica targets (I verified that it was in fact an error that we were replicating to those)
  122. Bug fix to replication wait time for testUpdateSystemMetadata_CNCertNonAuthMN
  123. Bug fix to replication policy and replica locating in testUpdateSystemMetadata_CNCertNonAuthMN
  124. Changed test object update code to make it easier to debug, made public readable
  125. A couple typos in logging
  126. Only MN admin and CN should be able to access an MN's log records, the object's rightsHolder currently cannot access its logs; modified the tests accordingly.
  127. Removed some out of date assertions
  128. refactored some logging statements in createTestObject to remove printStackTrace commands.
  129. roll back change about other id logging - possible NPE
  130. some logging improvements
  131. reverted a change to sync wait time that shouldn't have been committed
  132. a bit more logging
  133. logging addition
  134. removed errant use of org.hsqldb.lib.StringUtil in a unit test case.
  135. typo fixed
  136. Using a new object on each run of a deleteReplicaMetadata test now
  137. add other identifier to test failure message.
  138. Improved some error logs.
  139. Added an assertion on the number of version 2 MNs available
  140. Bug fix to recently added test - checking for replicas on v1 and v2 MNs
  141. Fixing a possible NPE
  142. Fixed a bug in procureTestObject, had introduced a possible validation exception in recent refactor.
  143. Fixed a problem with the content of ContextAwareTestCaseDataone.getCoordinatingNodeIterator(). When using context.label, it would previously return a list of all CNs found through listNodes(), including the round robin CN. It now tries to filter this node out if the CN list size is >1 (so we don't risk an empty CN list).
  144. Modified SystemMetadataFunctionalTestImplementation tests to assert that sysmeta.dateSysMetadataModified is not changed as a result of the MN.updateSystemMetadata call (and therefore the resulting CN.updateSystemMetadata call)
  145. Fixed a typo
  146. use same subject as creator of OREs when retrieving?
  147. Commented out a few tests against MN.query() for functionality that I found out is not supported yet - may put them back in after further discussion, if it's something we decide we want.
  148. Bug fix for a MNSystemMetadataMutabilityImplementations test - had out of date serialVersion
  149. Modified ContextAwareTestCaseDataone.procureTestObject to also work for a given ReplicationPolicy. Changed the test methods of MNSystemMetadataMutabilityImplementations to get-or-create a test object rather than just create one so it's less susceptible to failing or unavailable services in the environment - and should pick up the test on subsequent runs.
  150. More logging improvements
  151. Made change to libclient for getLogRecords - pidFilter changed to idFilter per documentation #refs 7432
  152. print stack trace for resolve issue.
  153. Committed some functional tests that check for modification of sysmeta's modification date during replica-related CN calls
  154. do not add original pid with an obsoletedBy property (I believe this is not allowed)
  155. Bug fix for a CN getLogRecords test
  156. try shorter nodeId - might be as simple as that to fix test case.
  157. refs: #7419 #7426. removed IdentifierNotUnique throws from hasReservation definitions and implementations (libclient, sync, cn_rest, d1_integration).
  158. More logging improvements
  159. More logging improvements
  160. More logging improvements
  161. More logging improvements
  162. Improved logging
  163. Added some sanity checks, made a couple bug fixes to a query test (solr really doesn't like ':'s), re-enabled the aggregation test
  164. A logging improvement to log and query functional tests
  165. A couple additions and fixes to log and query functional tests
  166. Filling out one of the new log tests further
  167. Added to log and query tests, making a handful of logic fixes, adding logging, adding another test, etc
  168. Overloaded an object creation method in ContextAwareTestCaseDataone
  169. Added tests for the log and query endpoints to test access and to test aggregation to CN from MNs (that one however will require modification to the log aggregation schedule to be run). Also made a small logging fix to v1/v2 interop tests.
  170. restoring d1_integration
  171. Modified an updateSystemMetadata test - added a search for valid replica targets and made the replication policy more specific to what's available
  172. try null for getting the session for verification-not-auth test.
  173. Small improvement in logging, split up a few test setup calls in testUpdateSystemMetadata_CNCertNonAuthMN
  174. compilation failure
  175. include verification test using cn subject
  176. More logging changes
  177. Some minor logging improvements
  178. For easier debugging, changed the created objects in sysmeta synchronize/replication test to be publicly readable
  179. fix compilation errors from testArchive() removal
  180. Another bug fix to the v1/v2 interop query test
  181. Also removed the archive() sid test in the common sid test class as it no longer applies
  182. Bug fix to a v1/v2 interop query test, to parsing number of results
  183. Modified the V2 test definitions classes to match the removal of the sid-related tests from the CN sid tests.
  184. Bug fix - v1 call adapter creation
  185. Modified the v1/v2 interop tests against v1 sysmeta methods (like archive, setRightsHolder, etc) to hit both the v1 and v2 endpoints and check for NotAuthorized, and removed the corresponding methods from the sid CN tests (since we're expecting exceptions and there's no longer a need to check valid return results)
  186. Fixed a sneaky bug that was preventing the view call from succeeding for MNs.
  187. Modified CN sid tests that deal with modifying parts of the system metadata to now expect NotAuthorized exceptions - also added back in the test for the methods setReplicationPolicy - whether it can take a sid or not, the method is only usable against v2 objects (may be redundant with another test, but no harm)
  188. Modified CN sid tests that deal with modifying parts of the system metadata to now expect NotAuthorized exceptions - the methods archive, setRightsHolder, and setAccessPolicy say they can take sid parameters in the documentation (this will need to be updated because of a recent decision to make these methods only usable against v2 objects - meaning no sid exists for them)
  189. One of the old tests was attempting a CN.setAccessPolicy on a v2 object; created a separate test that expects failure and switched it out.
  190. One of the old tests was attempting a CN.setRightsHolder on a v2 object; created a separate test that expects failure and switched it out.
  191. Logging some extra warnings and modified a setup step to fix a possible node conversion data loss issue.
  192. We need to be able to get a valid MN reference to use as an authoritative MN on test objects created; added code to ContextAwareTestCaseDataone to do this for calling CNs as well as MNs.
  193. @ignoring a unit test for the pooling connection manager that should not have been a regular test.
  194. use cnSubmitter and cnDevUNM2 for setting up tests
  195. more logging to failure message
  196. Added more specific logging to systemMetadataChanged test method utilizing the multiple environments' CN certs
  197. log status before testing (failing). mn.dirtysysmeta test.
  198. Increased wait times for sync and replication since MN object creation succeeds sysmeta fetching from CN is failing every time
  199. Some improved logging
  200. include cnDevUNM2 (certificate) when testing MN.systemMetadataChanged. Hopefully will allow it to succeed in DEV2 testing environment.
  201. Some small fixes to resetting the node capabilities on finishing sysymeta sync tests
  202. Found a bug in package creation code that created invalid sysmeta
  203. Had to update the v1 cn calls that update system metadata to use the fetched metadata's current serial version due to the recent implementation change
  204. Bug fix to test package setup method
  205. Removed a second assertion from updateSystemMetadata test using CN cert - there's no rule about serialVersion or dateSystemMetadataModified changing on the CN.updateSystemMetadata call (happens CN REST to CNStorage).
  206. Fixed a bug in test: CNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_NotAuthorized_RightsHolder - call to updateSystemMetadata wasn't actually using the rightsHolder cert.
  207. CN.updateSystemMetadata null serialVersion test also modified to not expect exception
  208. Changed an updateSystemMetadata test (using cn cert) to compare with the date in the previous sysmeta version rather than to that from a ping call.
  209. CN.updateSystemMetadata null serialVersion test also modified to not expect exception
  210. Fixed error message for the added sysmeta with no serialVersion test
  211. Reverted change to package creation - created with rightsHolder subject
  212. Added some logging
  213. Removed a handful of lines in integration tests that were setting the date modified on system metadata - this is now managed solely by the CN.
  214. Changed the MN test for updateSystemMetadata with a null serialVersion to no longer expect an exception. Added corresponding test in implementations class (not replacing old one since that still applies to the CN test).
  215. Updated interop tests dealing with objects that have a v2 authMN but try to use a v1 CN metadata altering call - these should fail with a NotAuthorized per the last maintenance discussion.
  216. Refactored MNUpdateSystemMetadataIT method to make use of existing code, removed a now-false assertion (to match sysmeta change to handling serialVersion), removed a setting of the dateSysMetadataModified to match same changes in implementation.
  217. exclude older commons-io from being pulled in with solrj. hopefully this allows bagit library to use newer methods.
  218. test for same content in bagit manifest listing, not same checksum since the manifest order is not guaranteed. https://redmine.dataone.org/issues/7394
  219. Switched created test packages to be public readable for testing purposes
  220. Removed some commented-out code
  221. Minor bug fix to a CNCore test
  222. Reverted a change I had made for testing purposes.
  223. Modified the MN API test classes to work with a context.label specifying MNs of both v1 and v2 - made sure that if multiple MNs are given by the member node iterator, then v1 nodes are excluded and only v2 MNs are tested (since these are v2-only methods).
  224. Modified the view and package functional test classes - made sure that if multiple MNs are given by the member node iterator, then v1 nodes are excluded and only v2 MNs are tested (since these are v2-only methods).
  225. Modified the view and package functional test classes - made sure that if multiple MNs are given by the member node iterator, then v1 nodes are excluded and only v2 MNs are tested (since these are v2-only methods).
  226. Cosmetic fix for generated packages - simplifying science metadata pid
  227. Bug fix in MN sid tests, made sure that if multiple MNs are given by the member node iterator, then v1 nodes are excluded. Also added some more specific error logging.
  228. Removed check for a replica target on a test in which we're expecting replication to not happen (since it would be v2 to v1 replication).
Revision 17541 by rnahf:
Renamed EnvironmentStatusTest to ...TestImpl, so maven doesn't see it as a unit test.
Change TypePath in RepositoryPath in Workspace
The file was removed/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/EnvironmentStatusTest.javasrc/test/java/org/dataone/integration/it/testImplementations/EnvironmentStatusTest.java
The file was added/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/EnvironmentStatusTestImpl.javasrc/test/java/org/dataone/integration/it/testImplementations/EnvironmentStatusTestImpl.java
Revision 17435 by andreib:
switched testSetReplicationStatus_dateModified to use a non-auth MN to test status changes on, just in case this causes problems with replication (this won't fix sysmeta date change issues though)
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.java
Revision 17400 by andreib:
Incrementing a few object pids to tests don't use objects that are too old - just in case this is causing a current issue with sysmeta dates seemingly getting updated.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.java
Revision 17280 by leinfelder:
log the pid and dates that do not match when failures occur.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.java
Revision 17279 by leinfelder:
don't test with cnSandboxUNM1 - seems to be having issues with keep HZ connections alive and passing tests.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/MNodeTier2IT.javasrc/test/java/org/dataone/integration/it/MNodeTier2IT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/functional/ClientCertificateInstallationIT.javasrc/test/java/org/dataone/integration/it/functional/ClientCertificateInstallationIT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataChangedMethodTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataChangedMethodTestImplementations.java
Revision 17276 by leinfelder:
getting test errors for .14, try .15 as object suffix?
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/java/org/dataone/integration/ContextAwareTestCaseDataone.javasrc/main/java/org/dataone/integration/ContextAwareTestCaseDataone.java
Revision 17252 by leinfelder:
include write permission for rightsholder
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.java
Revision 17251 by andreib:
Added public-readable to access policy for created test objects
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.java
Revision 17249 by andreib:
Another logging improvement - displaying created auth token
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.java
Revision 17245 by andreib:
Fixed a few logging messages
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.java
Revision 17244 by andreib:
Added an update test to the MN auth token tests
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/functional/v2/AuthTokenFunctionalIT.javasrc/test/java/org/dataone/integration/it/functional/v2/AuthTokenFunctionalIT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.java
Revision 17241 by andreib:
Switched auth token tests to using the more complicated ORCID rather than the basic "testId" subject
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.java
Revision 17239 by andreib:
Reverted general log level back to WARN, ContextAwareTestCaseDataone logger still at INFO level
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/resources/log4j.propertiessrc/main/resources/log4j.properties
Revision 17237 by andreib:
Part of a refactor to query results checking - should've been in cluded in last commit
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.java
Revision 17235 by andreib:
Added a query test for auth tokens, added an MN create test using an auth token to create on the MN, not just for authentication/authorization.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/java/org/dataone/integration/ContextAwareTestCaseDataone.javasrc/main/java/org/dataone/integration/ContextAwareTestCaseDataone.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/functional/v2/AuthTokenFunctionalIT.javasrc/test/java/org/dataone/integration/it/functional/v2/AuthTokenFunctionalIT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.java
Revision 17233 by andreib:
Fixed auth token test for MN - it needed to just get the v2 member nodes
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/functional/v2/AuthTokenFunctionalIT.javasrc/test/java/org/dataone/integration/it/functional/v2/AuthTokenFunctionalIT.java
Revision 17232 by andreib:
Adding private key filename property to STAGE test properties
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/resources/org/dataone/configuration/context.STAGE.test.propertiessrc/main/resources/org/dataone/configuration/context.STAGE.test.properties
Revision 17231 by andreib:
Changed logging level for d1_integration to INFO, re-added all CNs into token auth test
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/resources/log4j.propertiessrc/main/resources/log4j.properties
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/functional/v2/AuthTokenFunctionalIT.javasrc/test/java/org/dataone/integration/it/functional/v2/AuthTokenFunctionalIT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.java
Revision 17227 by andreib:
Updated dependencies to 2.1.0 snapshot in d1_integration pom
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/pom.xmlpom.xml
Revision 17226 by andreib:
Added debug logging for auth token created
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.java
Revision 17225 by andreib:
No need for skipping CNs since test.dataone.org key should work for all of them.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.java
Revision 17224 by andreib:
Leaving the public cert property null (rather than empty) just in case
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/resources/org/dataone/configuration/context.SANDBOX.test.propertiessrc/main/resources/org/dataone/configuration/context.SANDBOX.test.properties
Revision 17222 by andreib:
Updated some failure log messages
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.java
Revision 17221 by andreib:
public cert property can actually be null, it's not needed to generate the token
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/resources/org/dataone/configuration/context.SANDBOX.test.propertiessrc/main/resources/org/dataone/configuration/context.SANDBOX.test.properties
Revision 17218 by andreib:
sandbox test properties public cert needed to point to a different file (not the key file - that contains the private key only).
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/resources/org/dataone/configuration/context.SANDBOX.test.propertiessrc/main/resources/org/dataone/configuration/context.SANDBOX.test.properties
Revision 17214 by andreib:
Changing the private key and public cert parameters - they need to point to the server's (a CN server's) private/public key  pair.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/resources/org/dataone/configuration/context.SANDBOX.test.propertiessrc/main/resources/org/dataone/configuration/context.SANDBOX.test.properties
Revision 17212 by andreib:
Typos in sandbox test properties file
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/resources/org/dataone/configuration/context.SANDBOX.test.propertiessrc/main/resources/org/dataone/configuration/context.SANDBOX.test.properties
Revision 17210 by andreib:
Added private key and public cert  properties to sandbox test properties file so we can use the auth token tests.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/resources/org/dataone/configuration/context.SANDBOX.test.propertiessrc/main/resources/org/dataone/configuration/context.SANDBOX.test.properties
Revision 17209 by andreib:
fixed a couple comment typos
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.java
Revision 17208 by andreib:
Added a test that hits echoCredentials with the token.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.java
Revision 17196 by andreib:
Improved some error messages
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.java
Revision 17180 by andreib:
Bug fix - the MN call wasn't being done as the CN.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.java
Revision 17179 by andreib:
Modified teh MN isAuthorized test to also procure a test object (get or create) and to do so as the CN (to isolate the isAuthorized part for this test).
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.java
Revision 17175 by andreib:
Changed the functionality of the CN auth test to create an object readable by the token subject (AccessPolicy), but created by the CN subject (submitter/rightsHolder).
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.java
Revision 17173 by andreib:
Bug fix - incorrect property name in TestSettings fixed
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/java/org/dataone/configuration/TestSettings.javasrc/main/java/org/dataone/configuration/TestSettings.java
Revision 17172 by andreib:
Modified TestSettings to be able to pick up and set cn.server.privatekey.filename and cn.server.publiccert.filename from test properties files to Settings properties.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/java/org/dataone/configuration/TestSettings.javasrc/main/java/org/dataone/configuration/TestSettings.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.java
Revision 17171 by andreib:
Added a test against MN create/isAuthorized
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/functional/v2/AuthTokenFunctionalIT.javasrc/test/java/org/dataone/integration/it/functional/v2/AuthTokenFunctionalIT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.java
Revision 17170 by andreib:
Added some logging and cleaned up some imports.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.java
Revision 17163 by andreib:
Added some new classes for auth token tests (mostly placeholders at the moment, untested).
Change TypePath in RepositoryPath in Workspace
The file was added/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/functional/v2/AuthTokenFunctionalIT.javasrc/test/java/org/dataone/integration/it/functional/v2/AuthTokenFunctionalIT.java
The file was added/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.java
Revision 17161 by andreib:
Added d1_portal to d1_integration pom.xml dependencies so we can use the TokenGenerator for tests.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/pom.xmlpom.xml
Revision 17106 by andreib:
Improved a bunch of log/error messages on log tests
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.java
Revision 17105 by andreib:
Modified a second log test to skip over MNs on which objects cannot be created.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.java
Revision 17103 by andreib:
Another tweak to resolve test - fixed the logger being used for this class so we can see the INFO messages and removed a break statement causing problems with the logic.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/CNReadTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/CNReadTestImplementations.java
Revision 17100 by andreib:
Performance improvement for last modification to resolve test
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/CNReadTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/CNReadTestImplementations.java
Revision 17099 by andreib:
Added code to a resolve api test to iterate through the object list a few more times not only if getSysmeta() fails, but also if the authMN of the object in question is not found in the environment.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/CNReadTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/CNReadTestImplementations.java
Revision 17097 by andreib:
Modified the aggregation test to disregard MNs on which create is disabled.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.java
Revision 17090 by andreib:
Improving on some of the environment tests - removing a couple unnecessary tests for nodes that are registered but down. Fixed some typos. Improved a few log messages.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/EnvironmentStatusTest.javasrc/test/java/org/dataone/integration/it/testImplementations/EnvironmentStatusTest.java
Revision 17085 by andreib:
Adding some tests that can be run to check on the status of an environment (stuff like which nodes are down, which nodes don't have sync or replication turned on, or to check if sync/repl/services don't match between CN & MN Node documents).
Change TypePath in RepositoryPath in Workspace
The file was added/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/EnvironmentStatusTest.javasrc/test/java/org/dataone/integration/it/testImplementations/EnvironmentStatusTest.java
Revision 17053 by andreib:
Small change that should've been committed with the last fix to create a test object instead of procure one.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.java
Revision 17015 by andreib:
Found a subtle race condition in a test and fixed it.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.java
Revision 17014 by andreib:
Need to call v2 /log on nodes that support it and v1 /log on v1 nodes because they only support pidFilter.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.java
Revision 17013 by andreib:
Added an extra error message around creating a log entry
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/CoreTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/CoreTestImplementations.java
Revision 17011 by rnahf:
turned off the v1-only bypass in SANDBOX.  better late than never.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/resources/org/dataone/configuration/context.SANDBOX.test.propertiessrc/main/resources/org/dataone/configuration/context.SANDBOX.test.properties
Revision 17010 by rnahf:
added v1-only flag to STAGE properties files (as was done for SANDBOX)
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/resources/org/dataone/configuration/context.STAGE.test.propertiessrc/main/resources/org/dataone/configuration/context.STAGE.test.properties
Revision 17007 by rnahf:
adding an ignore to one of the SlowIT tests (testGetLogRecords_eventFiltering) because it was causing severe delays in test environment.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/apiTests/MNCoreV2SlowIT.javasrc/test/java/org/dataone/integration/it/apiTests/MNCoreV2SlowIT.java
Revision 16998 by andreib:
Added an extra get() call - there was a bug in metacat and initial create() logs weren't written. Since the test code procures rather than creates the objects, the extra get() should add logs to make the test more resistant.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.java
Revision 16993 by andreib:
Performance improvement for pidFiltering test and added some more comments to clear up what's going on in the test.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/CoreTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/CoreTestImplementations.java
Revision 16989 by andreib:
Committed an extra certificate/subject log message for debuggging purposes
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/java/org/dataone/integration/ContextAwareTestCaseDataone.javasrc/main/java/org/dataone/integration/ContextAwareTestCaseDataone.java
Revision 16987 by andreib:
Updated the d1_integration pom.xml file to depend on d1_test_resources version 2.0.0 rather than 1.1.0
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/pom.xmlpom.xml
Revision 16982 by andreib:
Added a warning log message if only v1 MNs are available to work with.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.java
Revision 16981 by andreib:
Just removed a variable (that won't change anything) so local cnSubmitter points to the ContextAwareTestCaseDataone variable
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.java
Revision 16980 by andreib:
Removed the requirement for v2 MNs from LogAggregationFunctionalTestImplementations - switched to using the highest endpoint version available for the MN where possible, falling back to using the v1 endpoint where it became too expensive to check both capabilities per node available.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.java
Revision 16976 by rnahf:
added a property nodelist.contains.v2.mn that to set the nodeListContainsV2Mn property.  Set the property to false in the context.SANDBOX.test.properties. Adjusted TestSettings to allow the property to be set from the command line (-D arguments)
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/java/org/dataone/configuration/TestSettings.javasrc/main/java/org/dataone/configuration/TestSettings.java
The file was modified/software/cicore/trunk/d1_integration/src/main/java/org/dataone/integration/ContextAwareTestCaseDataone.javasrc/main/java/org/dataone/integration/ContextAwareTestCaseDataone.java
The file was modified/software/cicore/trunk/d1_integration/src/main/java/org/dataone/integration/IntegrationTestContextParameters.javasrc/main/java/org/dataone/integration/IntegrationTestContextParameters.java
The file was modified/software/cicore/trunk/d1_integration/src/main/resources/org/dataone/configuration/context.SANDBOX.test.propertiessrc/main/resources/org/dataone/configuration/context.SANDBOX.test.properties
Revision 16975 by andreib:
Added checks in a few functional test implementations for the ContextAwareTestCaseDataone property that is set based on whether we have v2 nodes in the environment. Some tests will be skipped without v2 nodes in environment.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/CNAuthTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/CNAuthTestImplementations.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataChangedMethodTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataChangedMethodTestImplementations.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/NodeRegistryExtensibilityTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/NodeRegistryExtensibilityTestImplementations.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SidCNTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/SidCNTestImplementations.java
Revision 16974 by andreib:
Added a nodeListContainsV2Mn property. It was being set automatically based on the CN node list, but disabled that for now per a discussion with rob since we may just change it to be an environment property.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/java/org/dataone/integration/ContextAwareTestCaseDataone.javasrc/main/java/org/dataone/integration/ContextAwareTestCaseDataone.java
Revision 16935 by rnahf:
added optimization to the createTestObject method in SidCNTestImpl to minimize wait-to-sync time.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/java/org/dataone/integration/ContextAwareTestCaseDataone.javasrc/main/java/org/dataone/integration/ContextAwareTestCaseDataone.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SidCNTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/SidCNTestImplementations.java
Revision 16934 by andreib:
Added a more specific error message and modified some v2 node checks to be even more strict
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/NodeRegistryExtensibilityTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/NodeRegistryExtensibilityTestImplementations.java
Revision 16931 by andreib:
Reverted recent change - object creation test code, in the case that we have a v2 CN.create() with no v2 MNs in the environment, will not fall back to a v1 MN for the authMN because this changes the expected behavior of some tests (tests that are expecting a v2-specific object to be created, aka an object with a v2 authMN). Better that it fail for not finding a v2 authMN than sneakily doing a v1 create where a v2 create is expected.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/java/org/dataone/integration/ContextAwareTestCaseDataone.javasrc/main/java/org/dataone/integration/ContextAwareTestCaseDataone.java
Revision 16930 by andreib:
Object creation test code fix - in the case that we have a v2 CN.create() with no v2 MNs in the environment, fall back to a v1 MN for the authMN.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/java/org/dataone/integration/ContextAwareTestCaseDataone.javasrc/main/java/org/dataone/integration/ContextAwareTestCaseDataone.java
Revision 16929 by andreib:
Improved a few log messages.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/ViewFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/ViewFunctionalTestImplementations.java
Revision 16927 by andreib:
Removed a line that shouldn't have been part of last commit
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/ViewTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/ViewTestImplementations.java
Revision 16926 by andreib:
Fixed a bad typo
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/ViewTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/ViewTestImplementations.java
Revision 16925 by rnahf:
changed dataone.it.cnode.submitter.cn to ORC, due to taking UNM Sandbox CN out of service.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/resources/org/dataone/configuration/context.SANDBOX.test.propertiessrc/main/resources/org/dataone/configuration/context.SANDBOX.test.properties
Revision 16922 by andreib:
UNM cn has been temporarily removed from Sandbox environment (no longer in node list) and we can't use the UNM cn cert to create objects. Switching to the UCSB cert.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/resources/org/dataone/configuration/context.SANDBOX.test.propertiessrc/main/resources/org/dataone/configuration/context.SANDBOX.test.properties
Revision 16904 by andreib:
Added some error logging
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/java/org/dataone/integration/ContextAwareTestCaseDataone.javasrc/main/java/org/dataone/integration/ContextAwareTestCaseDataone.java
Revision 16894 by andreib:
Added a warning (troubleshooting step if required) to the d1_integration README. Also fixed some numbering.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/README.txtREADME.txt
Revision 16893 by andreib:
Web Tester fix - web test annotations for test labels and test descriptions were not being applied in many cases. The problem was just in cases with multiple @WebTestImplementation classes; iterating over the possible implementation classes and checking for the test method should've continued looping on failure to find said method - as it could've been located in the next implementation class.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/java/org/dataone/integration/webTest/StreamingWebTestListener.javasrc/main/java/org/dataone/integration/webTest/StreamingWebTestListener.java
Revision 16892 by andreib:
Improved some output for web tester with slightly (very slightly) less developery ignore comments
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/apiTests/CNCoreV2IT.javasrc/test/java/org/dataone/integration/it/apiTests/CNCoreV2IT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/apiTests/CNIdentityV1IT.javasrc/test/java/org/dataone/integration/it/apiTests/CNIdentityV1IT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/apiTests/CNIdentityV2IT.javasrc/test/java/org/dataone/integration/it/apiTests/CNIdentityV2IT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/apiTests/CNReplicationV1IT.javasrc/test/java/org/dataone/integration/it/apiTests/CNReplicationV1IT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/apiTests/CNReplicationV2IT.javasrc/test/java/org/dataone/integration/it/apiTests/CNReplicationV2IT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/apiTests/MNAuthorizationV1IT.javasrc/test/java/org/dataone/integration/it/apiTests/MNAuthorizationV1IT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/apiTests/MNReadV1IT.javasrc/test/java/org/dataone/integration/it/apiTests/MNReadV1IT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/apiTests/MNReplicationV1IT.javasrc/test/java/org/dataone/integration/it/apiTests/MNReplicationV1IT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/apiTests/MNReplicationV2IT.javasrc/test/java/org/dataone/integration/it/apiTests/MNReplicationV2IT.java
Revision 16890 by andreib:
Fixed an edge case that could mess up a replica being fetched if we ever ended up with a v2 MN that does not support the v1 API.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.java
Revision 16874 by andreib:
Added a few annotations for the webtester's documentation
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/CoreTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/CoreTestImplementations.java
Revision 16826 by andreib:
Messages improved inside of some exceptions thrown from replica fetching, also bumped up the maximum replication wait in the CN synchronize test (won't affect test run time if replication is no over-burdened)
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SystemMetadataFunctionalTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/SystemMetadataFunctionalTestImplementation.java
Revision 16820 by andreib:
Minor log message fix
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.java
Revision 16819 by andreib:
Made a change to the RetryHandler's last iteration: we don't want to throw a TryAgainException outside of the RetryHandler, so attempt to throw the exception encapsulated by the TryAgainException if there is one
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/client/RetryHandler.javasrc/test/java/org/dataone/client/RetryHandler.java
Revision 16818 by andreib:
Bumped up the maximum replication time yet again since it sometimes takes forever in practice (if replica for pid is resubmitted)
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.java
Revision 16815 by andreib:
Performance fix - decreased the desired number of replicas in a couple tests to the number of valid targets minus the origin MN, so CN won't need to re-attempt any replication hopelessly
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.java
Revision 16810 by andreib:
Bumped up the maximum replication time yet again since it took just over 40 minutes in practice (if replica for pid is resubmitted)
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.java
Revision 16809 by andreib:
Added a sanity check to testUpdateSystemMetadata_CNCertNonAuthMN
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.java
Revision 16808 by andreib:
Added a more careful non-auth MN check to a test, it may have been failing in some cases.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.java
Revision 16807 by andreib:
Minor log message change
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.java
Revision 16806 by andreib:
Added a few log messages, fixed another log message, added a slight performance improvement.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.java
Revision 16805 by andreib:
Slight performance improvement and logic fix to the sysmeta sync check
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.java
Revision 16804 by andreib:
Bumped up the maximum replication wait time in another test (affects worst-case scenario only since we poll sysmeta)
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.java
Revision 16802 by andreib:
Bumped up the maximum replication wait time in a test (affects worst-case scenario only since we poll sysmeta)
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.java
Revision 16797 by andreib:
Log message fix
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.java
Revision 16795 by andreib:
Improved logging in testUpdateSystemMetadata_CNCertNonAuthMN and bumped up the max replication wait time a few minutes.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.java
Revision 16794 by andreib:
Fixed a couple typos from last commit
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.java
Revision 16793 by andreib:
Rewrote part of a log access test to make it less susceptible to read time-outs - split up cn subject calls (individual pid filters) rather than doing the paged getLogRecords.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.java
Revision 16790 by andreib:
Performance improvement - Completely refactored V1/V2 interop tests to create all objects, then test for sync/replication before running the tests. This way we wait the maximum time once (worst case) and not for each created object.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/functional/v2/V1V2InteropFunctionalIT.javasrc/test/java/org/dataone/integration/it/functional/v2/V1V2InteropFunctionalIT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.java
Revision 16789 by andreib:
Made replica fetching a bit more specific in the setReplicationStatus test case, switched possible MNs for updateReplicationStatus replica check to v2 MNs (shouldn't affect test, just save a bit of time)
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.java
Revision 16784 by andreib:
Modified another replica check on the test modifiying replica status to remove the necessity for a completed state.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.java
Revision 16783 by andreib:
Modified the replica check on the test modifiying replica statuses to remove the necessity for a completed state.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.java
Revision 16782 by andreib:
Improved error message
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SidCNTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/SidCNTestImplementations.java
Revision 16780 by andreib:
Modified an interface resolution call in CommonCallAdapter
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/java/org/dataone/integration/adapters/CommonCallAdapter.javasrc/main/java/org/dataone/integration/adapters/CommonCallAdapter.java
Revision 16775 by andreib:
Performance improvements - short circuiting a handful of extra checks.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.java
Revision 16774 by andreib:
Performance improvements (switch to polling up to a total wait time rather than full wait time) and added some stricter replica checks to the polling.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.java
Revision 16773 by andreib:
Improved some performance - for object creation onto an MN with expected sync to CN, switched to polling for the CN sysmeta on intervals instead of waiting
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SidCNTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/SidCNTestImplementations.java
Revision 16772 by andreib:
Polling cn.getSysmeta for sysmeta with replicas will retry if no MN replicas are found
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SystemMetadataFunctionalTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/SystemMetadataFunctionalTestImplementation.java
Revision 16770 by andreib:
Polling cn.getSysmeta for sysmeta with replicas will retry if no v2 MN replicas are found
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.java
Revision 16769 by andreib:
Increased the max wait time for sync / replication to happen, since we're now polling for the updated sysmeta, it won't increase the run time of the tests except when CN sync is under heavy load and sync is trying to catch up anyway
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SystemMetadataFunctionalTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/SystemMetadataFunctionalTestImplementation.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.java
Revision 16764 by andreib:
Split v1/v2 interoperability tests' sync and replication checks into separate steps to get better error reports. Also improved performance of tests by using polling approach and applied it to those steps separately.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.java
Revision 16763 by andreib:
fixed 2 typos
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SystemMetadataFunctionalTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/SystemMetadataFunctionalTestImplementation.java
Revision 16762 by andreib:
Updated SystemMetadataFunctionalTestImplementation, added rob's RetryHandler to rest of methods that need to wait on sync/replication, modified some assertions and logging
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SystemMetadataFunctionalTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/SystemMetadataFunctionalTestImplementation.java
Revision 16760 by rnahf:
added Identifier.getValue() to logging and assert messages.  Created a RetryHandler class to avoid compulsory 10 and 5 minute waits on synchronization.
Change TypePath in RepositoryPath in Workspace
The file was added/software/cicore/trunk/d1_integration/src/test/java/org/dataone/client/RetryHandler.javasrc/test/java/org/dataone/client/RetryHandler.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SystemMetadataFunctionalTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/SystemMetadataFunctionalTestImplementation.java
Revision 16754 by andreib:
Reverting an accidental debugging change
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SidMNTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/SidMNTestImplementations.java
Revision 16753 by andreib:
Some more logging improvements
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SidCNTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/SidCNTestImplementations.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SidCommonTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/SidCommonTestImplementations.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SidMNTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/SidMNTestImplementations.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.java
Revision 16751 by andreib:
Added a bit of extra logging
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SidMNTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/SidMNTestImplementations.java
Revision 16749 by andreib:
Tweaked number of replica targets required
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.java
Revision 16742 by andreib:
Bug fix - added a catch block so we can skip nodes whose getCapabilities endpoint is down
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.java
Revision 16737 by andreib:
Added some more logging to testUpdateSystemMetadata_CNCertNonAuthMN
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.java
Revision 16734 by andreib:
Removed an out-of-date assertion
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SystemMetadataFunctionalTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/SystemMetadataFunctionalTestImplementation.java
Revision 16733 by andreib:
Added some more logging to testUpdateSystemMetadata_CNCertNonAuthMN and removed v1 nodes as replica targets (I verified that it was in fact an error that we were replicating to those)
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.java
Revision 16731 by andreib:
Bug fix to replication wait time for testUpdateSystemMetadata_CNCertNonAuthMN
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.java
Revision 16730 by andreib:
Bug fix to replication policy and replica locating in testUpdateSystemMetadata_CNCertNonAuthMN
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.java
Revision 16729 by andreib:
Changed test object update code to make it easier to debug, made public readable
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SidCommonTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/SidCommonTestImplementations.java
Revision 16728 by andreib:
A couple typos in logging
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.java
Revision 16727 by andreib:
Only MN admin and CN should be able to access an MN's log records, the object's rightsHolder currently cannot access its logs; modified the tests accordingly.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.java
Revision 16720 by andreib:
Removed some out of date assertions
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.java
Revision 16718 by rnahf:
refactored some logging statements in createTestObject to remove printStackTrace commands.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/java/org/dataone/integration/ContextAwareTestCaseDataone.javasrc/main/java/org/dataone/integration/ContextAwareTestCaseDataone.java
Revision 16715 by leinfelder:
roll back change about other id logging - possible NPE
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/CoreTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/CoreTestImplementations.java
Revision 16712 by andreib:
some logging improvements
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.java
Revision 16711 by andreib:
reverted a change to sync wait time that shouldn't have been committed
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SidCNTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/SidCNTestImplementations.java
Revision 16710 by andreib:
a bit more logging
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SidCNTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/SidCNTestImplementations.java
Revision 16708 by andreib:
logging addition
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.java
Revision 16706 by rnahf:
removed errant use of org.hsqldb.lib.StringUtil in a unit test case.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/ContextAwareTestCaseDataoneTest.javasrc/test/java/org/dataone/integration/ContextAwareTestCaseDataoneTest.java
Revision 16705 by andreib:
typo fixed
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.java
Revision 16704 by andreib:
Using a new object on each run of a deleteReplicaMetadata test now
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.java
Revision 16703 by leinfelder:
add other identifier to test failure message.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/CoreTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/CoreTestImplementations.java
Revision 16702 by andreib:
Improved some error logs.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SidCNTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/SidCNTestImplementations.java
Revision 16701 by andreib:
Added an assertion on the number of version 2 MNs available
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.java
Revision 16700 by andreib:
Bug fix to recently added test - checking for replicas on v1 and v2 MNs
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.java
Revision 16699 by andreib:
Fixing a possible NPE
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.java
Revision 16698 by andreib:
Fixed a bug in procureTestObject, had introduced a possible validation exception in recent refactor.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/java/org/dataone/integration/ContextAwareTestCaseDataone.javasrc/main/java/org/dataone/integration/ContextAwareTestCaseDataone.java
Revision 16696 by andreib:
Fixed a problem with the content of ContextAwareTestCaseDataone.getCoordinatingNodeIterator(). When using context.label, it would previously return a list of all CNs found through listNodes(), including the round robin CN. It now tries to filter this node out if the CN list size is >1 (so we don't risk an empty CN list).
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/java/org/dataone/integration/ContextAwareTestCaseDataone.javasrc/main/java/org/dataone/integration/ContextAwareTestCaseDataone.java
Revision 16695 by andreib:
Modified SystemMetadataFunctionalTestImplementation tests to assert that sysmeta.dateSysMetadataModified is not changed as a result of the MN.updateSystemMetadata call (and therefore the resulting CN.updateSystemMetadata call)
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SystemMetadataFunctionalTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/SystemMetadataFunctionalTestImplementation.java
Revision 16694 by andreib:
Fixed a typo
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/apiTests/MNSystemMetadataMutabilityIt.javasrc/test/java/org/dataone/integration/it/apiTests/MNSystemMetadataMutabilityIt.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.java
Revision 16690 by leinfelder:
use same subject as creator of  OREs when retrieving?
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SidMNTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/SidMNTestImplementations.java
Revision 16689 by andreib:
Commented out a few tests against MN.query() for functionality that I found out is not supported yet - may put them back in after further discussion, if it's something we decide we want.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.java
Revision 16686 by andreib:
Bug fix for a MNSystemMetadataMutabilityImplementations test - had out of date serialVersion
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.java
Revision 16685 by andreib:
Modified ContextAwareTestCaseDataone.procureTestObject to also work for a given ReplicationPolicy. Changed the test methods of MNSystemMetadataMutabilityImplementations to get-or-create a test object rather than just create one so it's less susceptible to failing or unavailable services in the environment - and should pick up the test on subsequent runs.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/java/org/dataone/integration/ContextAwareTestCaseDataone.javasrc/main/java/org/dataone/integration/ContextAwareTestCaseDataone.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.java
Revision 16682 by andreib:
More logging improvements
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.java
Revision 16680 by andreib:
Made change to libclient for getLogRecords - pidFilter changed to idFilter per documentation

#refs 7432
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/java/org/dataone/integration/adapters/CommonCallAdapter.javasrc/main/java/org/dataone/integration/adapters/CommonCallAdapter.java
The file was modified/software/cicore/trunk/d1_libclient_java/src/main/java/org/dataone/client/v1/impl/MultipartCNode.javaN/A
The file was modified/software/cicore/trunk/d1_libclient_java/src/main/java/org/dataone/client/v1/impl/MultipartMNode.javaN/A
The file was modified/software/cicore/trunk/d1_libclient_java/src/main/java/org/dataone/client/v2/impl/MultipartCNode.javaN/A
The file was modified/software/cicore/trunk/d1_libclient_java/src/main/java/org/dataone/client/v2/impl/MultipartMNode.javaN/A
Revision 16679 by leinfelder:
print stack trace for resolve issue.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SidCNTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/SidCNTestImplementations.java
Revision 16678 by andreib:
Committed some functional tests that check for modification of sysmeta's modification date during replica-related CN calls
Change TypePath in RepositoryPath in Workspace
The file was added/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/apiTests/MNSystemMetadataMutabilityIt.javasrc/test/java/org/dataone/integration/it/apiTests/MNSystemMetadataMutabilityIt.java
The file was added/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.java
Revision 16677 by leinfelder:
do not add original pid with an obsoletedBy property (I believe this is not allowed)
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SidCNTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/SidCNTestImplementations.java
Revision 16676 by andreib:
Bug fix for a CN getLogRecords test
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.java
Revision 16674 by leinfelder:
try shorter nodeId - might be as simple as that to fix test case.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/CNRegisterTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/CNRegisterTestImplementations.java
Revision 16672 by rnahf:
refs: #7419 #7426.  removed IdentifierNotUnique throws from hasReservation definitions and implementations (libclient, sync, cn_rest, d1_integration).
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/cn/d1_cn_service/d1_cn_rest/src/main/java/org/dataone/cn/rest/web/identifier/v1/ReserveIdentifierController.javaN/A
The file was modified/software/cicore/trunk/cn/d1_cn_service/d1_cn_rest/src/main/java/org/dataone/cn/rest/web/identifier/v2/ReserveIdentifierController.javaN/A
The file was modified/software/cicore/trunk/cn/d1_synchronization/src/main/java/org/dataone/cn/batch/synchronization/NodeCommSyncObjectFactory.javaN/A
The file was modified/software/cicore/trunk/cn/d1_synchronization/src/main/java/org/dataone/cn/batch/synchronization/tasks/TransferObjectTask.javaN/A
The file was modified/software/cicore/trunk/cn/d1_synchronization/src/main/java/org/dataone/cn/batch/synchronization/tasks/V2TransferObjectTask.javaN/A
The file was modified/software/cicore/trunk/cn/d1_synchronization/src/main/java/org/dataone/cn/batch/synchronization/type/IdentifierReservationQueryService.javaN/A
The file was modified/software/cicore/trunk/cn/d1_synchronization/src/test/java/org/dataone/cn/batch/harvest/mock/InMemoryCNReadCore.javaN/A
The file was modified/software/cicore/trunk/cn/d1_synchronization/src/test/java/org/dataone/cn/batch/harvest/mock/MockCNCore.javaN/A
The file was modified/software/cicore/trunk/d1_common_java/src/main/java/org/dataone/service/cn/v1/CNCore.javaN/A
The file was modified/software/cicore/trunk/d1_common_java/src/main/java/org/dataone/service/cn/v2/CNCore.javaN/A
The file was modified/software/cicore/trunk/d1_integration/src/main/java/org/dataone/integration/adapters/CNCallAdapter.javasrc/main/java/org/dataone/integration/adapters/CNCallAdapter.java
The file was modified/software/cicore/trunk/d1_libclient_java/src/main/java/org/dataone/client/v1/impl/MultipartCNode.javaN/A
The file was modified/software/cicore/trunk/d1_libclient_java/src/main/java/org/dataone/client/v2/impl/MultipartCNode.javaN/A
Revision 16671 by andreib:
More logging improvements
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.java
Revision 16670 by andreib:
More logging improvements
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.java
Revision 16669 by andreib:
More logging improvements
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.java
Revision 16668 by andreib:
More logging improvements
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.java
Revision 16667 by andreib:
Improved logging
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.java
Revision 16665 by andreib:
Added some sanity checks, made a couple bug fixes to a query test (solr really doesn't like ':'s), re-enabled the aggregation test
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/functional/v2/LogAggregationFunctionalIT.javasrc/test/java/org/dataone/integration/it/functional/v2/LogAggregationFunctionalIT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.java
Revision 16662 by andreib:
A logging improvement to log and query functional tests
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.java
Revision 16661 by andreib:
A couple additions and fixes to log and query functional tests
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.java
Revision 16655 by andreib:
Filling out one of the new log tests further
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.java
Revision 16654 by andreib:
Added to log and query tests, making a handful of logic fixes, adding logging, adding another test, etc
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/functional/v2/LogAggregationFunctionalIT.javasrc/test/java/org/dataone/integration/it/functional/v2/LogAggregationFunctionalIT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.java
Revision 16651 by andreib:
Overloaded an object creation method in ContextAwareTestCaseDataone
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/java/org/dataone/integration/ContextAwareTestCaseDataone.javasrc/main/java/org/dataone/integration/ContextAwareTestCaseDataone.java
Revision 16650 by andreib:
Added tests for the log and query endpoints to test access and to test aggregation to CN from MNs (that one however will require modification to the log aggregation schedule to be run). Also made a small logging fix to v1/v2 interop tests.
Change TypePath in RepositoryPath in Workspace
The file was added/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/functional/v2/LogAggregationFunctionalIT.javasrc/test/java/org/dataone/integration/it/functional/v2/LogAggregationFunctionalIT.java
The file was added/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.java
Revision 16642 by vieglais:
restoring d1_integration
Change TypePath in RepositoryPath in Workspace
The file was added/software/cicore/trunk/d1_integration.
Revision 16596 by andreib:
Modified an updateSystemMetadata test - added a search for valid replica targets and made the replication policy more specific to what's available
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.java
Revision 16595 by leinfelder:
try null for getting the session for verification-not-auth test.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/CNIdentityTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/CNIdentityTestImplementations.java
Revision 16584 by andreib:
Small improvement in logging, split up a few test setup calls in testUpdateSystemMetadata_CNCertNonAuthMN
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.java
Revision 16583 by leinfelder:
compilation failure
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/apiTests/CNIdentityV1IT.javasrc/test/java/org/dataone/integration/it/apiTests/CNIdentityV1IT.java
Revision 16582 by leinfelder:
include verification test using cn subject
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/apiTests/CNIdentityV2IT.javasrc/test/java/org/dataone/integration/it/apiTests/CNIdentityV2IT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testDefinitions/CNIdentityTestDefinitions.javasrc/test/java/org/dataone/integration/it/testDefinitions/CNIdentityTestDefinitions.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/CNIdentityTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/CNIdentityTestImplementations.java
Revision 16580 by andreib:
More logging changes
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SystemMetadataFunctionalTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/SystemMetadataFunctionalTestImplementation.java
Revision 16575 by andreib:
Some minor logging improvements
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SystemMetadataFunctionalTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/SystemMetadataFunctionalTestImplementation.java
Revision 16574 by andreib:
For easier debugging, changed the created objects in sysmeta synchronize/replication test to be publicly readable
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SystemMetadataFunctionalTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/SystemMetadataFunctionalTestImplementation.java
Revision 16571 by leinfelder:
fix compilation errors from testArchive()  removal
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/apiTests/CNCoreV2IT.javasrc/test/java/org/dataone/integration/it/apiTests/CNCoreV2IT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/apiTests/MNStorageV2IT.javasrc/test/java/org/dataone/integration/it/apiTests/MNStorageV2IT.java
Revision 16570 by andreib:
Another bug fix to the v1/v2 interop query test
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.java
Revision 16569 by andreib:
Also removed the archive() sid test in the common sid test class as it no longer applies
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SidCommonTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/SidCommonTestImplementations.java
Revision 16568 by andreib:
Bug fix to a v1/v2 interop query test, to parsing number of results
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.java
Revision 16567 by andreib:
Modified the V2 test definitions classes to match the removal of the sid-related tests from the CN sid tests.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/apiTests/CNAuthorizationV2IT.javasrc/test/java/org/dataone/integration/it/apiTests/CNAuthorizationV2IT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/apiTests/CNReplicationV2IT.javasrc/test/java/org/dataone/integration/it/apiTests/CNReplicationV2IT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testDefinitions/CNAuthorizationSidTestDefinitions.javasrc/test/java/org/dataone/integration/it/testDefinitions/CNAuthorizationSidTestDefinitions.java
Revision 16566 by andreib:
Bug fix - v1 call adapter creation
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.java
Revision 16565 by andreib:
Modified the v1/v2 interop tests against v1 sysmeta methods (like archive, setRightsHolder, etc) to hit both the v1 and v2 endpoints and check for NotAuthorized, and removed the corresponding methods from the sid CN tests (since we're expecting exceptions and there's no longer a need to check valid return results)
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/functional/v2/V1V2InteropFunctionalIT.javasrc/test/java/org/dataone/integration/it/functional/v2/V1V2InteropFunctionalIT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SidCNTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/SidCNTestImplementations.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.java
Revision 16559 by andreib:
Fixed a sneaky bug that was preventing the view call from succeeding for MNs.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/ViewTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/ViewTestImplementations.java
Revision 16558 by andreib:
Modified CN sid tests that deal with modifying parts of the system metadata to now expect NotAuthorized exceptions - also added back in the test for the methods setReplicationPolicy - whether it can take a sid or not, the method is only usable against v2 objects (may be redundant with another test, but no harm)
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SidCNTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/SidCNTestImplementations.java
Revision 16557 by andreib:
Modified CN sid tests that deal with modifying parts of the system metadata to now expect NotAuthorized exceptions - the methods archive, setRightsHolder, and setAccessPolicy say they can take sid parameters in the documentation (this will need to be updated because of a recent decision to make these methods only usable against v2 objects - meaning no sid exists for them)
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SidCNTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/SidCNTestImplementations.java
Revision 16555 by andreib:
One of the old tests was attempting a CN.setAccessPolicy on a v2 object; created a separate test that expects failure and switched it out.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/apiTests/CNAuthorizationV2IT.javasrc/test/java/org/dataone/integration/it/apiTests/CNAuthorizationV2IT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/CNAuthTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/CNAuthTestImplementations.java
Revision 16553 by andreib:
One of the old tests was attempting a CN.setRightsHolder on a v2 object; created a separate test that expects failure and switched it out.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/apiTests/CNAuthorizationV2IT.javasrc/test/java/org/dataone/integration/it/apiTests/CNAuthorizationV2IT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/CNAuthTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/CNAuthTestImplementations.java
Revision 16552 by andreib:
Logging some extra warnings and modified a setup step to fix a possible node conversion data loss issue.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SystemMetadataFunctionalTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/SystemMetadataFunctionalTestImplementation.java
Revision 16551 by andreib:
We need to be able to get a valid MN reference to use as an authoritative MN on test objects created; added code to ContextAwareTestCaseDataone to do this for calling CNs as well as MNs.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/java/org/dataone/integration/ContextAwareTestCaseDataone.javasrc/main/java/org/dataone/integration/ContextAwareTestCaseDataone.java
The file was modified/software/cicore/trunk/d1_integration/src/main/java/org/dataone/integration/adapters/CommonCallAdapter.javasrc/main/java/org/dataone/integration/adapters/CommonCallAdapter.java
Revision 16547 by rnahf:
@ignoring a unit test for the pooling connection manager that should not have been a regular test.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/client/PoolingHttpClientConnectionManagerTest.javasrc/test/java/org/dataone/client/PoolingHttpClientConnectionManagerTest.java
Revision 16546 by leinfelder:
use cnSubmitter and cnDevUNM2 for setting up tests
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataChangedMethodTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataChangedMethodTestImplementations.java
Revision 16538 by leinfelder:
more logging to failure message
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataChangedMethodTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataChangedMethodTestImplementations.java
Revision 16537 by andreib:
Added more specific logging to systemMetadataChanged test method utilizing the multiple environments' CN certs
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataChangedMethodTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataChangedMethodTestImplementations.java
Revision 16530 by leinfelder:
log status before testing (failing). mn.dirtysysmeta test.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataChangedMethodTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataChangedMethodTestImplementations.java
Revision 16529 by andreib:
Increased wait times for sync and replication since MN object creation succeeds sysmeta fetching from CN is failing every time
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SystemMetadataFunctionalTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/SystemMetadataFunctionalTestImplementation.java
Revision 16528 by andreib:
Some improved logging
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SystemMetadataFunctionalTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/SystemMetadataFunctionalTestImplementation.java
Revision 16522 by leinfelder:
include cnDevUNM2 (certificate) when testing MN.systemMetadataChanged. Hopefully will allow it to succeed in DEV2 testing environment.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataChangedMethodTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataChangedMethodTestImplementations.java
Revision 16520 by andreib:
Some small fixes to resetting the node capabilities on finishing sysymeta sync tests
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SystemMetadataFunctionalTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/SystemMetadataFunctionalTestImplementation.java
Revision 16517 by andreib:
Found a bug in package creation code that created invalid sysmeta
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/java/org/dataone/integration/ContextAwareTestCaseDataone.javasrc/main/java/org/dataone/integration/ContextAwareTestCaseDataone.java
Revision 16514 by andreib:
Had to update the v1 cn calls that update system metadata to use the fetched metadata's current serial version due to the recent implementation change
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.java
Revision 16513 by andreib:
Bug fix to test package setup method
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SidMNTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/SidMNTestImplementations.java
Revision 16512 by andreib:
Removed a second assertion from updateSystemMetadata test using CN cert - there's no rule about serialVersion or dateSystemMetadataModified changing on the CN.updateSystemMetadata call (happens CN REST to CNStorage).
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/CNUpdateSystemMetadataTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/CNUpdateSystemMetadataTestImplementations.java
Revision 16511 by andreib:
Fixed a bug in test: CNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_NotAuthorized_RightsHolder - call to updateSystemMetadata wasn't actually using the rightsHolder cert.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/CNUpdateSystemMetadataTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/CNUpdateSystemMetadataTestImplementations.java
Revision 16508 by andreib:
CN.updateSystemMetadata null serialVersion test also modified to not expect exception
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testDefinitions/CNUpdateSystemMetadataTestDefinitions.javasrc/test/java/org/dataone/integration/it/testDefinitions/CNUpdateSystemMetadataTestDefinitions.java
Revision 16507 by andreib:
Changed an updateSystemMetadata test (using cn cert) to compare with the date in the previous sysmeta version rather than to that from a ping call.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/CNUpdateSystemMetadataTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/CNUpdateSystemMetadataTestImplementations.java
Revision 16506 by andreib:
CN.updateSystemMetadata null serialVersion test also modified to not expect exception
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/apiTests/CNCoreV2IT.javasrc/test/java/org/dataone/integration/it/apiTests/CNCoreV2IT.java
Revision 16505 by andreib:
Fixed error message for the added sysmeta with no serialVersion test
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/UpdateSystemMetadataTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/UpdateSystemMetadataTestImplementations.java
Revision 16504 by andreib:
Reverted change to package creation - created with rightsHolder subject
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/java/org/dataone/integration/ContextAwareTestCaseDataone.javasrc/main/java/org/dataone/integration/ContextAwareTestCaseDataone.java
Revision 16503 by andreib:
Added some logging
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.java
Revision 16502 by andreib:
Removed a handful of lines in integration tests that were setting the date modified on system metadata - this is now managed solely by the CN.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/CNUpdateSystemMetadataTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/CNUpdateSystemMetadataTestImplementations.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SystemMetadataFunctionalTestImplementation.javasrc/test/java/org/dataone/integration/it/testImplementations/SystemMetadataFunctionalTestImplementation.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/UpdateSystemMetadataTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/UpdateSystemMetadataTestImplementations.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/ViewTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/ViewTestImplementations.java
Revision 16501 by andreib:
Changed the MN test for updateSystemMetadata with a null serialVersion to no longer expect an exception. Added corresponding test in implementations class (not replacing old one since that still applies to the CN test).
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/apiTests/MNStorageV2IT.javasrc/test/java/org/dataone/integration/it/apiTests/MNStorageV2IT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testDefinitions/MNUpdateSystemMetadataTestDefinitions.javasrc/test/java/org/dataone/integration/it/testDefinitions/MNUpdateSystemMetadataTestDefinitions.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/UpdateSystemMetadataTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/UpdateSystemMetadataTestImplementations.java
Revision 16500 by andreib:
Updated interop tests dealing with objects that have a v2 authMN but try to use a v1 CN metadata altering call - these should fail with a NotAuthorized per the last maintenance discussion.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.java
Revision 16499 by andreib:
Refactored MNUpdateSystemMetadataIT method to make use of existing code, removed a now-false assertion (to match sysmeta change to handling serialVersion), removed a setting of the dateSysMetadataModified to match same changes in implementation.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/apiTests/MNUpdateSystemMetadataIT.javasrc/test/java/org/dataone/integration/it/apiTests/MNUpdateSystemMetadataIT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/CNUpdateSystemMetadataTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/CNUpdateSystemMetadataTestImplementations.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.java
Revision 16498 by leinfelder:
exclude older commons-io from being pulled in with solrj. hopefully this allows bagit library to use newer methods.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/pom.xmlpom.xml
Revision 16497 by leinfelder:
test for same content in bagit manifest listing, not same checksum since the manifest order is not guaranteed. https://redmine.dataone.org/issues/7394
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/pom.xmlpom.xml
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SidMNTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/SidMNTestImplementations.java
Revision 16496 by andreib:
Switched created test packages to be public readable for testing purposes
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/java/org/dataone/integration/ContextAwareTestCaseDataone.javasrc/main/java/org/dataone/integration/ContextAwareTestCaseDataone.java
Revision 16494 by andreib:
Removed some commented-out code
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SidMNTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/SidMNTestImplementations.java
Revision 16492 by andreib:
Minor bug fix to a CNCore test
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/apiTests/CNCoreV2IT.javasrc/test/java/org/dataone/integration/it/apiTests/CNCoreV2IT.java
Revision 16482 by andreib:
Reverted a change I had made for testing purposes.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/java/org/dataone/integration/ContextAwareTestCaseDataone.javasrc/main/java/org/dataone/integration/ContextAwareTestCaseDataone.java
Revision 16481 by andreib:
Modified the MN API test classes to work with a context.label specifying MNs of both v1 and v2 - made sure that if multiple MNs are given by the member node iterator, then v1 nodes are excluded and only v2 MNs are tested (since these are v2-only methods).
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/apiTests/MNAuthorizationV2IT.javasrc/test/java/org/dataone/integration/it/apiTests/MNAuthorizationV2IT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/apiTests/MNCoreV2IT.javasrc/test/java/org/dataone/integration/it/apiTests/MNCoreV2IT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/apiTests/MNCoreV2SlowIT.javasrc/test/java/org/dataone/integration/it/apiTests/MNCoreV2SlowIT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/apiTests/MNPackageV2IT.javasrc/test/java/org/dataone/integration/it/apiTests/MNPackageV2IT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/apiTests/MNQueryV2IT.javasrc/test/java/org/dataone/integration/it/apiTests/MNQueryV2IT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/apiTests/MNReadV2IT.javasrc/test/java/org/dataone/integration/it/apiTests/MNReadV2IT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/apiTests/MNReplicationV2IT.javasrc/test/java/org/dataone/integration/it/apiTests/MNReplicationV2IT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/apiTests/MNStorageV2IT.javasrc/test/java/org/dataone/integration/it/apiTests/MNStorageV2IT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/apiTests/MNViewV2IT.javasrc/test/java/org/dataone/integration/it/apiTests/MNViewV2IT.java
Revision 16477 by andreib:
Modified the view and package functional test classes - made sure that if multiple MNs are given by the member node iterator, then v1 nodes are excluded and only v2 MNs are tested (since these are v2-only methods).
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/java/org/dataone/integration/ContextAwareTestCaseDataone.javasrc/main/java/org/dataone/integration/ContextAwareTestCaseDataone.java
Revision 16476 by andreib:
Modified the view and package functional test classes - made sure that if multiple MNs are given by the member node iterator, then v1 nodes are excluded and only v2 MNs are tested (since these are v2-only methods).
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/functional/v2/MNPackageFunctionalIT.javasrc/test/java/org/dataone/integration/it/functional/v2/MNPackageFunctionalIT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/functional/v2/MNViewFunctionalIT.javasrc/test/java/org/dataone/integration/it/functional/v2/MNViewFunctionalIT.java
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SidMNTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/SidMNTestImplementations.java
Revision 16469 by andreib:
Cosmetic fix for generated packages - simplifying science metadata pid
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/main/java/org/dataone/integration/ContextAwareTestCaseDataone.javasrc/main/java/org/dataone/integration/ContextAwareTestCaseDataone.java
Revision 16468 by andreib:
Bug fix in MN sid tests, made sure that if multiple MNs are given by the member node iterator, then v1 nodes are excluded. Also added some more specific error logging.
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/SidMNTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/SidMNTestImplementations.java
Revision 16466 by andreib:
Removed check for a replica target on a test in which we're expecting replication to not happen (since it would be v2 to v1 replication).
Change TypePath in RepositoryPath in Workspace
The file was modified/software/cicore/trunk/d1_integration/src/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.javasrc/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.java