Skip to content

Commit

Permalink
Add timeout on CounterTest
Browse files Browse the repository at this point in the history
  • Loading branch information
slinkydeveloper committed Mar 20, 2024
1 parent 8dc421b commit 1015398
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

import dev.restate.sdk.client.IngressClient;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.Timeout;
import org.junit.jupiter.api.extension.RegisterExtension;

class CounterTest {
Expand All @@ -25,6 +26,7 @@ class CounterTest {
.buildRunner();

@Test
@Timeout(value = 10)
void testGreet(@RestateIngressClient IngressClient ingressClient) {
var client = CounterClient.fromIngress(ingressClient, "my-counter");
long response = client.get();
Expand Down

0 comments on commit 1015398

Please sign in to comment.