You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2020/03/17 08:14:38 UTC
[GitHub] [accumulo] ctubbsii opened a new pull request #1565: Improve
TableOperationsIT and NamespacesIT
ctubbsii opened a new pull request #1565: Improve TableOperationsIT and NamespacesIT
URL: https://github.com/apache/accumulo/pull/1565
* Using `Assert.assertThrows()` with lambda
* Replace expected exception parameter
* Replace complex try/catch statements
* Avoid most uses of `Assert.fail()`
* Replace absurd switch statements in NamespacesIT for checking
multiple operations with complex exception handling checks with
convenience methods that takes a lambda and use assertThrows and any
follow on cause checks
* Make waiting-on-constraint changes to retry until test times out
* Replace `Assert.assertTrue(!p)` with `Assert.assertFalse(p)`
* Use `StringUtils.repeat` to construct long table/namespace names
* Use `Assert.assertSame` instead of switch statements to check enums
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [accumulo] ctubbsii merged pull request #1565: Improve
TableOperationsIT and NamespacesIT
Posted by GitBox <gi...@apache.org>.
ctubbsii merged pull request #1565: Improve TableOperationsIT and NamespacesIT
URL: https://github.com/apache/accumulo/pull/1565
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services