Skip to content

string_test.py periodically fails #364

Closed

Description

@hokiegeek2

In test harness pull request, the test

def run_test_index(strings, test_strings, cat):
    # int index
    assert(strings[N//3] == test_strings[N//3])
    assert(cat[N//3] == test_strings[N//3])
    print("int index passed")

called from

 def test_index(self):
        run_test_index(self.strings, self.test_strings, self.cat)

periodically fails with the following message:

=================================================== short test summary info ====================================================
FAILED tests/string_test.py::StringTest::test_index - assert '\\"\\\\@PSTZ 4' == '"\\@PSTZ 4'
================================================= 1 failed, 8 passed in 2.69s ==================================================

Activity

  1. ronawho commented on May 7, 2020

    @ronawho
    Contributor

    In my runs, any of the string unit tests can fail sporadically. I wonder if the random string generation is resulting in non-utf8 strings (or non whatever strings numpy/arkouda support)

  2. ronawho commented on May 7, 2020

    @ronawho
    Contributor

    cc @reuster986 who I think implemented most of the strings functionally

  3. mhmerrill commented on Oct 20, 2020

    @mhmerrill
    Contributor

    @reuster986 can we close this yet?

  4. reuster986 commented on Oct 20, 2020

    @reuster986
    Collaborator

    No, this issue still needs to be worked. I am looking at it right now, trying to figure out the problem.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions