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: Remove resolve_device tests involving partition creation #1037

Merged
merged 1 commit into from
Nov 7, 2022

Conversation

tbzatek
Copy link
Member

@tbzatek tbzatek commented Nov 4, 2022

This is a partial revert of commit cf47eee that depends on full object update after partitioning. That is still work in progress (see #955) and prone to race conditions.

======================================================================
FAIL: test_60_resolve_device (test_10_basic.UdisksBaseTest)

Traceback (most recent call last):
File "/home/jenkins/workspace/udisks-pr/arch/x86_64/distro/centos_9s/type/udisks/src/tests/dbus-tests/test_10_basic.py", line 335, in test_60_resolve_device
self.assertEquals(part_name_val, part_label)
AssertionError: dbus.String('', variant_level=1) != 'PRTLBLX'

This is a partial revert of commit cf47eee that depends on full
object update after partitioning. That is still work in progress
(see storaged-project#955) and prone to race conditions.

  ======================================================================
  FAIL: test_60_resolve_device (test_10_basic.UdisksBaseTest)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/jenkins/workspace/udisks-pr/arch/x86_64/distro/centos_9s/type/udisks/src/tests/dbus-tests/test_10_basic.py", line 335, in test_60_resolve_device
      self.assertEquals(part_name_val, part_label)
  AssertionError: dbus.String('', variant_level=1) != 'PRTLBLX'
@vojtechtrefny
Copy link
Member

Can you maybe add the test back in #955 (or revert the revert) to make sure we won't forget to add the tests back once it is fixed?

@tbzatek
Copy link
Member Author

tbzatek commented Nov 4, 2022

Can you maybe add the test back in #955 (or revert the revert) to make sure we won't forget to add the tests back once it is fixed?

That's my plan, once this is merged, I'll rebase and revert.

@tbzatek tbzatek merged commit 3d8893f into storaged-project:master Nov 7, 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

Successfully merging this pull request may close these issues.

2 participants