From c769d040522709af753967633849be56d85ac7a0 Mon Sep 17 00:00:00 2001 From: Daniel Kec Date: Wed, 30 Mar 2022 12:45:46 +0200 Subject: [PATCH] Wrong assertion, test data starts with 0 #145 Signed-off-by: Daniel Kec --- .../overflow/ThrowExceptionOverflowStrategyOverflowTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tck/src/main/java/org/eclipse/microprofile/reactive/messaging/tck/channel/overflow/ThrowExceptionOverflowStrategyOverflowTest.java b/tck/src/main/java/org/eclipse/microprofile/reactive/messaging/tck/channel/overflow/ThrowExceptionOverflowStrategyOverflowTest.java index be5642fb..d96d8fd4 100644 --- a/tck/src/main/java/org/eclipse/microprofile/reactive/messaging/tck/channel/overflow/ThrowExceptionOverflowStrategyOverflowTest.java +++ b/tck/src/main/java/org/eclipse/microprofile/reactive/messaging/tck/channel/overflow/ThrowExceptionOverflowStrategyOverflowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020, 2021 Contributors to the Eclipse Foundation + * Copyright (c) 2020, 2022 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. @@ -47,7 +47,7 @@ public void testOverflow() throws InterruptedException { // Assert all items either accepted or rejected assertThat(bean.accepted().size() + bean.rejected().size()).isEqualTo(10); // At least the first item should have been accepted - assertThat(bean.accepted()).contains("1"); + assertThat(bean.accepted()).contains("0"); // But not everything should have been accepted assertThat(bean.rejected()).isNotEmpty();