Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -189,13 +189,10 @@ public void testShowCreateTable()
")");
}

@Test
@Override
public void testAddNotNullColumn()
protected void verifyAddNotNullColumnToNonEmptyTableFailurePermissible(Throwable e)
{
assertThatThrownBy(super::testAddNotNullColumn)
.isInstanceOf(AssertionError.class)
.hasMessage("Unexpected failure when adding not null column");
assertThat(e).hasMessageMatching("SQL compilation error: Non-nullable column .* cannot be added to non-empty table .* unless it has a non-null default value.");
}

@Test
Expand Down