Skip to content

Commit

Permalink
fix slow unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov committed Oct 20, 2023
1 parent 48ad94b commit fab738f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,8 @@ public void createUnsignedBlock_WhenFound_ReturnsBlockContents() {
SafeFuture<Optional<BlockContainer>> future =
apiHandler.createUnsignedBlock(UInt64.ONE, blsSignature, graffiti, false);

assertThatSszData(unwrapToValue(future)).isEqualByAllMeansTo(blockContents);
// using isEqualByAllMeansTo is extremely slow for a block with blob sidecars
assertThatSszData(unwrapToValue(future)).isEqualBySszTo(blockContents);
}

@Test
Expand Down

0 comments on commit fab738f

Please sign in to comment.