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

[Flaky test] xmodule.partitions.tests.test_partitions.TestGetCourseUserPartitions.test_enrollment_track_partition_added #35641

Open
timmc-edx opened this issue Oct 11, 2024 · 0 comments
Labels
flaky-test Details a test removed as part of the flaky test process

Comments

@timmc-edx
Copy link
Contributor

timmc-edx commented Oct 11, 2024

This test fails intermittently and has been deleted according to the Flaky Test Process in https://github.com/edx/edx-platform/pull/27885.

See docs on how to address flaky tests for why this should be fixed and how to go about it.

Related: #35640

Failure output:

Regression
Run Tests / commonlib-unit / xmodule.xmodule.partitions.tests.test_partitions.TestGetCourseUserPartitions.test_enrollment_track_partition_added (from pytest)

Failing for the past 1 build (Since Failed#31393 )
Took 4 ms.
Error Message
AssertionError: assert 2 == 1
  +2
  -1
Stacktrace
self = <xmodule.partitions.tests.test_partitions.TestGetCourseUserPartitions testMethod=test_enrollment_track_partition_added>

    def test_enrollment_track_partition_added(self):
        """
        Test that the dynamic enrollment track scheme is added if there is no conflict with the user partition ID.
        """
        all_partitions = get_all_partitions_for_course(self.course)
>       assert 2 == len(all_partitions)
E       AssertionError: assert 2 == 1
E         +2
E         -1

common/lib/xmodule/xmodule/partitions/tests/test_partitions.py:560: AssertionError

(Previously filed as https://2u-internal.atlassian.net/browse/CR-3732)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flaky-test Details a test removed as part of the flaky test process
Projects
None yet
Development

No branches or pull requests

2 participants