use of com.amazonaws.xray.entities.DummySegment in project aws-xray-sdk-java by aws.
the class UDPEmitterTest method sendingSegmentShouldNotThrowExceptions.
@Test
void sendingSegmentShouldNotThrowExceptions() throws SocketException {
DaemonConfiguration config = getDaemonConfiguration("__udpemittertest_unresolvable__:1234");
UDPEmitter emitter = new UDPEmitter(config);
boolean success = emitter.sendSegment(new DummySegment(getGlobalRecorder()));
assertThat(success).isFalse();
}
Aggregations