Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests start failing with unordered-containers 0.2.16 #165

Open
sternenseemann opened this issue Dec 26, 2021 · 0 comments
Open

Tests start failing with unordered-containers 0.2.16 #165

sternenseemann opened this issue Dec 26, 2021 · 0 comments
Assignees
Milestone

Comments

@sternenseemann
Copy link

cabal v2-test --constraint 'unordered-containers >= 0.2.16, probably harmless failure, unless the XML order is important?

Running 1 test suites...
Test suite minio-hs-test: RUNNING...
Tests
  Properties
    (checked by QuickCheck)
      selectPartSizes::                          OK (0.50s)
        +++ OK, passed 100 tests.
      selectCopyRanges::                         OK (0.42s)
        +++ OK, passed 100 tests.
      mkSSECKey::                                OK (0.08s)
        +++ OK, passed 100 tests.
  Unit tests
    XML Generator Tests
      Test mkCreateBucketConfig:                 OK
      Test mkCompleteMultipartUploadRequest:     OK
      Test mkPutNotificationRequest:             OK (0.04s)
      Test mkSelectRequest:                      FAIL (0.04s)
        test/Network/Minio/XmlGenerator/Test.hs:122:
        selectRequest XML should match: 
        expected: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><SelectRequest><Expression>Select * from S3Object</Expression><ExpressionType>SQL</ExpressionType><InputSerialization><CompressionType>GZIP</CompressionType><CSV><QuoteCharacter>&#34;</QuoteCharacter><RecordDelimiter>\n</RecordDelimiter><FileHeaderInfo>IGNORE</FileHeaderInfo><QuoteEscapeCharacter>&#34;</QuoteEscapeCharacter><FieldDelimiter>,</FieldDelimiter></CSV></InputSerialization><OutputSerialization><CSV><QuoteCharacter>&#34;</QuoteCharacter><QuoteFields>ASNEEDED</QuoteFields><RecordDelimiter>\n</RecordDelimiter><QuoteEscapeCharacter>&#34;</QuoteEscapeCharacter><FieldDelimiter>,</FieldDelimiter></CSV></OutputSerialization><RequestProgress><Enabled>FALSE</Enabled></RequestProgress></SelectRequest>"
         but got: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><SelectRequest><Expression>Select * from S3Object</Expression><ExpressionType>SQL</ExpressionType><InputSerialization><CompressionType>GZIP</CompressionType><CSV><QuoteCharacter>&#34;</QuoteCharacter><RecordDelimiter>\n</RecordDelimiter><QuoteEscapeCharacter>&#34;</QuoteEscapeCharacter><FieldDelimiter>,</FieldDelimiter><FileHeaderInfo>IGNORE</FileHeaderInfo></CSV></InputSerialization><OutputSerialization><CSV><QuoteCharacter>&#34;</QuoteCharacter><RecordDelimiter>\n</RecordDelimiter><QuoteEscapeCharacter>&#34;</QuoteEscapeCharacter><FieldDelimiter>,</FieldDelimiter><QuoteFields>ASNEEDED</QuoteFields></CSV></OutputSerialization><RequestProgress><Enabled>FALSE</Enabled></RequestProgress></SelectRequest>"
        Use -p '/Test mkSelectRequest/' to rerun this test only.
    XML Parser Tests
      Test parseLocation:                        OK
      Test parseNewMultipartUpload:              OK
      Test parseListObjectsResponse:             OK
      Test parseListObjectsV1Response:           OK (0.04s)
      Test parseListUploadsresponse:             OK
      Test parseCompleteMultipartUploadResponse: OK
      Test parseListPartsResponse:               OK
      Test parseCopyObjectResponse:              OK
      Test parseNotification:                    OK (0.04s)
      Test parseSelectProgress:                  OK
    Bucket Name Validity Tests
      Too short 1:                               OK
      Too short 2:                               OK
      Too long 1:                                OK
      Has upper case:                            OK
      Has punctuation:                           OK
      Has hyphen at end:                         OK (0.04s)
      Has consecutive dot:                       OK
      Looks like IP:                             OK
      Valid bucket name 1:                       OK
      Valid bucket name 2:                       OK
      Valid bucket name 3:                       OK
    Object Name Validity Tests
      Empty name:                                OK
      Has unicode characters:                    OK
    Parse MinIO Admin API ServerInfo JSON test
      FSBackend:                                 OK
      Erasure Backend:                           OK
      Unknown Backend:                           OK
    Parse MinIO Admin API HealStatus JSON test
      Good:                                      OK (0.04s)
      Corrupted:                                 OK
      Incorrect Value:                           OK
    Parse MinIO Admin API HealStartResp JSON test
      Good:                                      OK
      Missing Token:                             OK
    limitedMapConcurrently Tests
      Test with various thread counts:           OK (0.27s)

1 out of 39 tests failed (0.51s)
Test suite minio-hs-test: FAIL
Test suite logged to: dist/test/minio-hs-1.5.3-minio-hs-test.log
0 of 1 test suites (0 of 1 test cases) passed.
@donatello donatello self-assigned this Feb 8, 2022
@donatello donatello added this to the Release 1.7.0 milestone Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants