Skip to content

[BUG] PPL integration test fails in Turkish locale #1590

Closed

Description

@seankao-az

What is the bug?
StandaloneIT.testSourceFieldQuery fails in tr-TR locale.

How can one reproduce the bug?

  1. check out to commit 3fc11a4
  2. run ./gradlew ':integ-test:integTest' --tests "org.opensearch.sql.ppl.StandaloneIT.testSourceFieldQuery" -Dtests.seed=2E353120D2BDBBBB -Dtests.security.manager=false -Dtests.locale=tr-TR -Dtests.timezone=Africa/Gaborone -Druntime.java=17

Also reproducible on 30ac276 (2.x branch). Might have existed for a while

What is the expected behavior?
All integration tests pass

What is your host/environment?
Discovered on Github Actions, reproduced on Intel MacBook pro

Do you have any screenshots?
If applicable, add screenshots to help explain your problem.

Do you have any additional context?

Logs

REPRODUCE WITH: ./gradlew ':integ-test:integTest' --tests "org.opensearch.sql.ppl.StandaloneIT.testSourceFieldQuery" -Dtests.seed=2E353120D2BDBBBB -Dtests.security.manager=false -Dtests.locale=tr-TR -Dtests.timezone=Africa/Gaborone -Druntime.java=17
org.opensearch.sql.ppl.StandaloneIT > testSourceFieldQuery FAILED
    org.junit.ComparisonFailure: expected:<...,
          "type": "str[i]ng"
        }
      ],
      "da...> but was:<...,
          "type": "str[ı]ng"
        }
      ],
      "da...>
        at __randomizedtesting.SeedInfo.seed([2E353120D2BDBBBB:B4B7B9A7D1BE37B5]:0)
        at org.junit.Assert.assertEquals(Assert.java:117)
        at org.junit.Assert.assertEquals(Assert.java:146)
        at org.opensearch.sql.ppl.StandaloneIT.testSourceFieldQuery(StandaloneIT.java:105)

Activity

  1. added
    bug
    on Apr 27, 2023
  2. Yury-Fridlyand commented on Apr 27, 2023

    @Yury-Fridlyand
    Collaborator

    Similar to #1275

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions