Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Adds some more logging to this sporadically failing test
  • Loading branch information
Edwin Shin committed Jun 13, 2013
1 parent d3ec209 commit c5464e8
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -112,14 +112,17 @@ public void testDatastreamTerm() throws NoSuchNodeTypeException,
if (entry == null) fail("Waited a second, got no messages");

List<Category> categories = copyOf(entry.getCategories("xsd:string"));
entry = null;
//entry = null;
String path = null;
logger.debug("Matched {} categories with scheme xsd:string", categories
.size());
for (Category cat : categories) {
if (cat.getLabel().equals("fedora-types:dsID")) {
logger.debug("Found Category with term: " + cat.getTerm());
path = cat.getTerm();
}
}
entry = null;
assertEquals("Got wrong datastream ID!", "DATASTREAM", path);
for (Category cat : categories) {
if (cat.getLabel().equals("fedora-types:pid")) {
Expand Down

0 comments on commit c5464e8

Please sign in to comment.