BAEL-3806 fixed integration test
This commit is contained in:
parent
92f61cec99
commit
e2b7e620a6
@ -52,14 +52,13 @@ public class ConsumerFooServiceIntegrationTest {
|
|||||||
.map(Arrays::stream)
|
.map(Arrays::stream)
|
||||||
.orElse(Stream.empty());
|
.orElse(Stream.empty());
|
||||||
})
|
})
|
||||||
.map(IThrowableProxy::getMessage)
|
.map(IThrowableProxy::getClassName)
|
||||||
.collect(Collectors.toList());
|
.collect(Collectors.toList());
|
||||||
assertThat(allLoggedEntries).anyMatch(entry -> entry.contains("The following error happened on processFoo method!"))
|
assertThat(allLoggedEntries).anyMatch(entry -> entry.contains("The following error happened on processFoo method!"))
|
||||||
.anyMatch(entry -> entry.contains("| onSubscribe"))
|
.anyMatch(entry -> entry.contains("| onSubscribe"))
|
||||||
.anyMatch(entry -> entry.contains("| cancel()"));
|
.anyMatch(entry -> entry.contains("| cancel()"));
|
||||||
|
|
||||||
assertThat(allSuppressedEntries).anyMatch(entry -> entry.contains("Assembly trace from producer"))
|
assertThat(allSuppressedEntries)
|
||||||
.anyMatch(entry -> entry.contains("Error has been observed by the following operator(s)"));
|
.anyMatch(entry -> entry.contains("reactor.core.publisher.FluxOnAssembly$OnAssemblyException"));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user