Skip to content

Commit

Permalink
Refix
Browse files Browse the repository at this point in the history
  • Loading branch information
Hor911 committed Jun 6, 2024
1 parent 57f5ac9 commit 960c77f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ydb/library/yql/providers/s3/actors/yql_s3_read_actor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ class TS3ReadCoroImpl : public TActorCoroImpl {
if (!ErrorText.empty()) {
TString errorCode;
TString message;
if (ParseS3ErrorResponse(ErrorText, errorCode, message)) {
if (!ParseS3ErrorResponse(ErrorText, errorCode, message)) {
message = ErrorText;
}
Issues.AddIssues(BuildIssues(HttpResponseCode, errorCode, message));
Expand Down
2 changes: 1 addition & 1 deletion ydb/tests/fq/s3/test_insert.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ def test_error(self, kikimr, s3, client, format, unique_prefix):
assert result.query.meta.status in [fq.QueryMeta.STARTING,
fq.QueryMeta.RUNNING], "Query is not RUNNING anymore"
issues = result.query.transient_issue
if "HTTP error code: 500" in str(issues):
if "500 Internal Server Error" in str(issues):
break
assert time.time() - start_at < 20, "Timeout waiting for transient issue in " + str(issues)
time.sleep(0.5)
Expand Down

0 comments on commit 960c77f

Please sign in to comment.