@Test
public void testSample51Percent() throws Exception {

	tracingPlugin.getDefaultRateLimitSpansPercentOption().update(0.51, SimpleSource.NAME);
	int reports = 0;
	for (int i = 0; i < 100; i++) {
		final PreExecutionInterceptorContext context = new PreExecutionInterceptorContext(spanContext);
		interceptor.interceptReport(context);
		if (context.isReport()) {
			reports++;
		}
	}
	assertThat(reports).isEqualTo(51);
}