Skip to content

Fix wrong 503 error response code

Codecov / codecov/patch failed Feb 1, 2024 in 0s

76.82% of diff hit (target 95.41%)

View this Pull Request on Codecov

76.82% of diff hit (target 95.41%)

Annotations

Check warning on line 296 in datasources/src/main/java/org/opensearch/sql/datasources/rest/RestDataSourceQueryAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

datasources/src/main/java/org/opensearch/sql/datasources/rest/RestDataSourceQueryAction.java#L296

Added line #L296 was not covered by tests

Check warning on line 41 in spark/src/main/java/org/opensearch/sql/spark/asyncquery/OpensearchAsyncQueryJobMetadataStorageService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

spark/src/main/java/org/opensearch/sql/spark/asyncquery/OpensearchAsyncQueryJobMetadataStorageService.java#L41

Added line #L41 was not covered by tests

Check warning on line 118 in spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java#L118

Added line #L118 was not covered by tests

Check warning on line 122 in spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java#L120-L122

Added lines #L120 - L122 were not covered by tests

Check warning on line 148 in spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java#L145-L148

Added lines #L145 - L148 were not covered by tests

Check warning on line 196 in spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

spark/src/main/java/org/opensearch/sql/spark/rest/RestAsyncQueryManagementAction.java#L196

Added line #L196 was not covered by tests

Check warning on line 59 in spark/src/main/java/org/opensearch/sql/spark/rest/model/CreateAsyncQueryRequest.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

spark/src/main/java/org/opensearch/sql/spark/rest/model/CreateAsyncQueryRequest.java#L59

Added line #L59 was not covered by tests

Check warning on line 65 in spark/src/main/java/org/opensearch/sql/spark/rest/model/CreateAsyncQueryRequest.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

spark/src/main/java/org/opensearch/sql/spark/rest/model/CreateAsyncQueryRequest.java#L63-L65

Added lines #L63 - L65 were not covered by tests