Skip to content

Commit

Permalink
Enable Snowflake testAddNotNullColumn
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjian2664 authored and ebyhr committed Mar 27, 2024
1 parent 7f10d9f commit 482dd99
Showing 1 changed file with 2 additions and 5 deletions.
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

0 comments on commit 482dd99

Please sign in to comment.