Skip to content

Commit

Permalink
Removed obsolete comments eclipse-platform#882
Browse files Browse the repository at this point in the history
Tests have been modified to use time limits instead of fixed iteration
count. Now each test takes 7-14 seconds on Mac OS.
  • Loading branch information
basilevs committed Nov 13, 2023
1 parent fbdd86b commit 8ca3115
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1205,7 +1205,6 @@ private double measureGetItemNanos(int childCount) {
*/
@Test
public void test_getItemNoGrowth() {
// This test takes 1 second on MacOS
testTreeRegularAndVirtual(() -> {
assertConstant("getItem() execution time", this::measureGetItemNanos);
});
Expand All @@ -1224,7 +1223,6 @@ private double measureGetItemCountNanos(int childCount) {
*/
@Test
public void test_getItemCountNoGrowth() {
// This test takes 1 second on MacOS
testTreeRegularAndVirtual(() -> {
assertConstant("itemCount execution time", this::measureGetItemCountNanos);
});
Expand Down Expand Up @@ -1304,7 +1302,6 @@ private void assertLinear(String message, IntFunction<Double> function) {

@Test
public void test_depthFirstTraversalLinearGrowth() {
// This test takes 1 second on MacOS
testTreeRegularAndVirtual(() -> {
assertLinear("Depth first traversal", this::measureDepthFirstTraverse);
});
Expand Down

0 comments on commit 8ca3115

Please sign in to comment.