aboutsummaryrefslogtreecommitdiffstats
path: root/vespa-osgi-testrunner/src/test/java/com/yahoo/vespa/test/samples/FailingTest.java
blob: 7c5669e6b03394d713e03769886b4abf57edb822 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.test.samples;

import com.yahoo.vespa.testrunner.Expect;
import org.junit.jupiter.api.Test;

@Expect(error = 1, status = 5)
public class FailingTest {

    @Test
    void test() { throw new RuntimeException(); }

}