This is an automated email from the ASF dual-hosted git repository. dcapwell pushed a commit to branch CASSANDRA-18804 in repository https://gitbox.apache.org/repos/asf/cassandra-accord.git
commit d21d8cd133e3e9919e8bbc66ae824a0174433d57 Author: David Capwell <[email protected]> AuthorDate: Tue Nov 28 14:54:49 2023 -0800 didnt see Preempted yet, but just in case --- accord-core/src/test/java/accord/local/CommandsTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/accord-core/src/test/java/accord/local/CommandsTest.java b/accord-core/src/test/java/accord/local/CommandsTest.java index 0e3133c9..47d3b4ae 100644 --- a/accord-core/src/test/java/accord/local/CommandsTest.java +++ b/accord-core/src/test/java/accord/local/CommandsTest.java @@ -21,6 +21,7 @@ package accord.local; import accord.api.Key; import accord.api.TestableConfigurationService; import accord.burn.random.FrequentLargeRange; +import accord.coordinate.Preempted; import accord.coordinate.Timeout; import accord.coordinate.TopologyMismatch; import accord.impl.MessageListener; @@ -117,10 +118,9 @@ class CommandsTest } else if (!(failure instanceof TopologyMismatch)) { - if (failure instanceof Timeout) + if (failure instanceof Timeout || failure instanceof Preempted) { - // TODO (now): we don't know the result... - logger.warn("Timeout seen..."); + logger.warn("{} seen...", failure.getClass().getSimpleName()); } else { --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
