Skip to content

Fix wrong 503 error response code (#2493)

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

63.41% of diff hit (target 95.48%)

View this Pull Request on Codecov

63.41% of diff hit (target 95.48%)

Annotations

Check warning on line 289 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#L287-L289

Added lines #L287 - L289 were not covered by tests

Check warning on line 301 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#L301

Added line #L301 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