File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
azure-application-insights-spring-boot-starter/src/test/java/com/microsoft/applicationinsights/autoconfigure Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change 3838import com .microsoft .applicationinsights .internal .perfcounter .JvmPerformanceCountersModule ;
3939import com .microsoft .applicationinsights .internal .perfcounter .PerformanceCounter ;
4040import com .microsoft .applicationinsights .internal .perfcounter .PerformanceCounterContainer ;
41- import com .microsoft .applicationinsights .internal .quickpulse .QuickPulse ;
4241import com .microsoft .applicationinsights .telemetry .EventTelemetry ;
4342import com .microsoft .applicationinsights .telemetry .RequestTelemetry ;
4443import com .microsoft .applicationinsights .telemetry .Telemetry ;
@@ -185,7 +184,7 @@ public void shouldBeAbleToConfigureInprocessTelemetryChannel() throws IllegalCon
185184 assertThat (channel ).extracting ("telemetryBuffer" ).extracting ("transmitBufferTimeoutInSeconds" ).contains (123 );
186185 assertThat (channel ).extracting ("telemetryBuffer" ).extracting ("maxTelemetriesInBatch" ).contains (10 );
187186 }
188-
187+
189188 @ Test
190189 public void shouldBeAbleToConfigureSamplingTelemetryProcessor () {
191190 EnvironmentTestUtils .addEnvironment (context ,
@@ -378,14 +377,4 @@ private void resetInternalLogger() throws Exception {
378377 f1 .setAccessible (true );
379378 f1 .set (InternalLogger .INSTANCE , false );
380379 }
381-
382- /**
383- * Resets quickpulse
384- * @throws Exception
385- */
386- private void resetQuickPulse () throws Exception {
387- Field f1 = QuickPulse .INSTANCE .getClass ().getDeclaredField ("initialized" );
388- f1 .setAccessible (true );
389- f1 .set (QuickPulse .INSTANCE , false );
390- }
391380}
You can’t perform that action at this time.
0 commit comments