blob: b248fe065fb199c2f12f744d112b37506f3824ff (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package com.yahoo.vespa.test.samples;
import com.yahoo.vespa.testrunner.Expect;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.Timeout;
import java.util.concurrent.TimeUnit;
@Expect(error = 1, status = 5)
public class TimingOutTest {
@Test
@Timeout(value = 1, unit = TimeUnit.MILLISECONDS)
void test() throws InterruptedException {
Thread.sleep(10_000);
}
}
|