Bug #4720
Web tester uses a non-public readable object to check "Checksum Size Consistency"
100%
Description
java.lang.AssertionError: NotAuthorized: 1400:: READ not allowed on TierTesting:mn-demo-11:Authenticated_READ.14 [for host GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v1/meta/TierTesting:mn-demo-11:Authenticated_READ.14 ]
at org.junit.Assert.fail(Assert.java:91)
at org.dataone.integration.it.ContextAwareTestCaseDataone$4.call(ContextAwareTestCaseDataone.java:1145)
at org.junit.rules.ErrorCollector.checkSucceeds(ErrorCollector.java:70)
at org.dataone.integration.it.ContextAwareTestCaseDataone.handleFail(ContextAwareTestCaseDataone.java:1140)
at org.dataone.integration.it.MNodeTier1IT.testContent_Checksum_Size_Consistency(MNodeTier1IT.java:1597)
at org.dataone.integration.it.MNodeTier1IT.testMetadata_Checksum_Size_Consistency(MNodeTier1IT.java:1529)
History
#1 Updated by Rob Nahf about 10 years ago
- Target version set to Maintenance Backlog
- Due date set to 2014-09-25
- Start date set to 2014-09-25
#2 Updated by Rob Nahf about 10 years ago
- Category set to d1_integration
- Due date changed from 2014-09-25 to 2014-11-19
#3 Updated by Rob Nahf over 8 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
integration tests have been refactored and this issue seems to be fixed.
(ContentIntegrityTestImplementations.
ObjectInfo oi = ol.getObjectInfoList().get(0);
SystemMetadata smd = null;
try {
smd = cca.getSystemMetadata(null, oi.getIdentifier());
} catch (NotAuthorized e) {
continue;
}