Skip to content

Commit

Permalink
Adapt failing test (MID-4959, MID-4615)
Browse files Browse the repository at this point in the history
(cherry picked from commit 3691329)
  • Loading branch information
mederly committed Nov 5, 2018
1 parent 62fdf83 commit 2761b39
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -486,7 +486,7 @@ public void test105SearchResourcesIterativeNoFetch() throws Exception {
assertFalse("Empty search return", resources.isEmpty());
assertEquals("Unexpected number of resources found", 2, resources.size());

assertCounterIncrement(InternalCounters.PRISM_OBJECT_CLONE_COUNT, 2);
assertCounterIncrement(InternalCounters.PRISM_OBJECT_CLONE_COUNT, 0);

// No explicit get. Search is doing all the work.
assertCounterIncrement(InternalCounters.RESOURCE_REPOSITORY_READ_COUNT, 0);
Expand Down Expand Up @@ -539,7 +539,7 @@ public void test107SearchResourcesIterativeNoFetchReadOnly() throws Exception {
assertFalse("Empty search return", resources.isEmpty());
assertEquals("Unexpected number of resources found", 2, resources.size());

assertCounterIncrement(InternalCounters.PRISM_OBJECT_CLONE_COUNT, 2);
assertCounterIncrement(InternalCounters.PRISM_OBJECT_CLONE_COUNT, 0);

// No explicit get. Search is doing all the work.
assertCounterIncrement(InternalCounters.RESOURCE_REPOSITORY_READ_COUNT, 0);
Expand Down

0 comments on commit 2761b39

Please sign in to comment.