Skip to content

Commit

Permalink
Fix flaky testAddColumnConcurrently Ignite test
Browse files Browse the repository at this point in the history
Hopefully fix `TestIgniteConnectorTest.testAddColumnConcurrently`.
The fix hasn't been verified, as the test cannot be run on Apple M1.
  • Loading branch information
findepi committed Apr 12, 2023
1 parent a04c6df commit 89b7d9e
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,12 @@ protected boolean isColumnNameRejected(Exception exception, String columnName, b
return errorMessage.contains("Failed to complete exchange process");
}

@Override
protected void verifyConcurrentAddColumnFailurePermissible(Exception e)
{
assertThat(e).hasMessage("Schema change operation failed: Thread got interrupted while trying to acquire table lock.");
}

@Override
public void testAddNotNullColumnToNonEmptyTable()
{
Expand Down

0 comments on commit 89b7d9e

Please sign in to comment.