You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TestEnvironment with external service - failing tests throws IllegalStateException errors #2674
java.lang.IllegalStateException: getDiagnostics is not supported with the external service
at com.google.common.base.Preconditions.checkState(Preconditions.java:512)
Steps to Reproduce the Problem
class SampleTest {
@RegisterExtension
public static final TestWorkflowExtension workflowExtension =
TestWorkflowExtension.newBuilder().setDoNotStart(true).useExternalService().build();
@Test
void sampleTest(TestWorkflowEnvironment environment) {
Assert.assertEquals(1, 2);
}
}
Activity
maciejdudko commentedon Oct 1, 2025
Hi @gauravthadani, thank you for opening this issue. We'll discuss it on our next triage meeting.