File tree Expand file tree Collapse file tree
sdk/metrics/src/test/java/io/opentelemetry/sdk/metrics/internal/state Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ void invokeCallback_RestoresContextClassLoader() {
227227
228228 // Simulate invocation on a thread with null context class loader (like DaemonThreadFactory)
229229 Thread .currentThread ().setContextClassLoader (null );
230- callbackRegistration .invokeCallback (registeredReader , 0 , 1 );
230+ callbackRegistration .invokeCallback (registeredReader );
231231
232232 // Callback should have seen the registration-time classloader
233233 assertThat (observedClassLoader .get ()).isSameAs (registrationClassLoader );
@@ -255,7 +255,7 @@ void invokeCallback_RestoresContextClassLoaderOnException() {
255255
256256 // Simulate invocation on a thread with null context class loader
257257 Thread .currentThread ().setContextClassLoader (null );
258- callbackRegistration .invokeCallback (registeredReader , 0 , 1 );
258+ callbackRegistration .invokeCallback (registeredReader );
259259
260260 // Context classloader should still be restored even after exception
261261 assertThat (Thread .currentThread ().getContextClassLoader ()).isNull ();
You can’t perform that action at this time.
0 commit comments