Skip to content

Commit

Permalink
Fix nginx conf
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay Chia committed Aug 1, 2023
1 parent f0dbfbe commit b044d69
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions tests/integration/docker-compose/nginx-serve-static-files.conf
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,5 @@ http {
location /503.html {
return 503 "<b>Sike it's a hardcoded 503!</b>";
}

# Simulate S3 endpoint for non-retryable errors to ensure that
# the native parquet reader throws nice errors
#
# The following error codes are considered retryable:
# https://github.com/aws/aws-sdk-cpp/blob/8a9550f1db04b33b3606602ba181d68377f763df/src/aws-cpp-sdk-core/include/aws/core/http/HttpResponse.h#L113-L131
# 500/503/429/509/408/419/440/504/598/599
location /s3-bucket-name/non-retryable-404-failure.parquet {
return 404 '<?xml version="1.0" encoding="UTF-8"?>
<Error>
<Code>FooErrorCode</Code>
<Message>This is a mock error message</Message>
<Resource>/s3-bucket-name/non-retryable-failure.html</Resource>
<RequestId>4442587FB7D0A2F9</RequestId>
</Error>';
}
}
}

0 comments on commit b044d69

Please sign in to comment.