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.py::TestPartitionService::test_get_user_group_id_for_partition #35640

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 #35545.

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

Related: #35641

__________ TestPartitionService.test_get_user_group_id_for_partition ___________

self = <xmodule.partitions.tests.test_partitions.TestPartitionService testMethod=test_get_user_group_id_for_partition>

    def test_get_user_group_id_for_partition(self):
        # assign the first group to be returned
        user_partition_id = self.user_partition.id
        groups = self.user_partition.groups
        self.user_partition.scheme.current_group = groups[0]
    
        # get a group assigned to the user
        group1_id = self.partition_service.get_user_group_id_for_partition(self.user, user_partition_id)
>       assert group1_id == groups[0].id
E       AssertionError: assert 1 == 0
E        +  where 0 = Group(id=0, name='Group 1').id

xmodule/partitions/tests/test_partitions.py:473: AssertionError

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

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