Project

General

Profile

Bug #4720

Web tester uses a non-public readable object to check "Checksum Size Consistency"

Added by Jing Tao about 10 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
d1_integration
Target version:
Start date:
2014-09-25
Due date:
2014-11-19
% Done:

100%

Milestone:
None
Product Version:
*
Story Points:
Sprint:

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 over 9 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 over 9 years ago

  • Category set to d1_integration
  • Due date changed from 2014-09-25 to 2014-11-19

#3 Updated by Rob Nahf almost 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;
}

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)