ygerzhedovich commented on code in PR #3619:
URL: https://github.com/apache/ignite-3/pull/3619#discussion_r1595164986
##########
modules/client/src/test/java/org/apache/ignite/client/ClientKeyValueViewTest.java:
##########
@@ -512,7 +512,7 @@ public void
testNonNullableColumnWithDefaultValueSetNullThrowsException() {
var ex = assertThrows(IgniteException.class, () -> pojoView.put(null,
1, pojo));
- assertTrue(ex.getMessage().contains("null was passed, but column is
not nullable"), ex.getMessage());
+ assertThat(ex.getMessage(), containsString("Column 'STRNONNULL' does
not allow NULLs"));
Review Comment:
maybe better to use IgniteTestUtils.assertThrows
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]