소스 검색

Add empty test to ESLoggerUsageTests

This commit adds an empty test to ESLoggerUsageTests to avoid the test
suite from failing for having no tests after the existing tests were
marked as awaits fix in 1d197eddcc2a5dea7d7608d76530e1c2b20f2cd0.
Jason Tedor 9 년 전
부모
커밋
21dbc5ba84
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      test/logger-usage/src/test/java/org/elasticsearch/test/loggerusage/ESLoggerUsageTests.java

+ 5 - 0
test/logger-usage/src/test/java/org/elasticsearch/test/loggerusage/ESLoggerUsageTests.java

@@ -39,6 +39,11 @@ import static org.hamcrest.Matchers.notNullValue;
 
 public class ESLoggerUsageTests extends ESTestCase {
 
+    // needed to avoid the test suite from failing for having no tests
+    public void testSoThatTestsDoNotFail() {
+
+    }
+
     @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/20243")
     public void testLoggerUsageChecks() throws IOException {
         for (Method method : getClass().getMethods()) {