Skip to content

Enable tests in SummaryOfMathTest #826

Open
@EgorkaKulikov

Description

@EgorkaKulikov

Description

Test SummaryOfMathTest.testOfInts was disabled to merge important pull request #810. This test was successfully passing locally but crashed in CI two times. Possibly it is a problem in rewritten actions, not in test, because a mentioned pull request does not seem to change something in summarization logic.

The failure in CI looks as follows

org.opentest4j.AssertionFailedError: 
The following comments were passed in the check() method, but were not found in the list of comments produced by the UTBot:
-------------------------------------------------------------
Test calls {@link guava.examples.math.StatsAccumulator#addAll(int[])},
    there it does not iterate for(int value: values), 
Test later calls {@link guava.examples.math.StatsAccumulator#snapshot()},
    there it returns from: return new Stats(count, mean, sumOfSquaresOfDeltas, min, max);
Test then returns from: return acummulator.snapshot();
-------------------------------------------------------------
 ==> expected: <true> but was: <false>

Metadata

Metadata

Assignees

Labels

comp-infrastructureInfrastructure issuescomp-summariesSomething related to the method names, code comments and display names generationctg-bugIssue is a bug

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions