qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] bf9e03: tests: make filemonitor test more rob


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] bf9e03: tests: make filemonitor test more robust to event ...
Date: Fri, 13 Sep 2019 03:51:36 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: bf9e0313c27d8e6ecd7f7de3d63e1cb25d8f6311
      
https://github.com/qemu/qemu/commit/bf9e0313c27d8e6ecd7f7de3d63e1cb25d8f6311
  Author: Daniel P. Berrangé <address@hidden>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M tests/test-util-filemonitor.c

  Log Message:
  -----------
  tests: make filemonitor test more robust to event ordering

The ordering of events that are emitted during the rmdir
test have changed with kernel >= 5.3. Semantically both
new & old orderings are correct, so we must be able to
cope with either.

To cope with this, when we see an unexpected event, we
push it back onto the queue and look and the subsequent
event to see if that matches instead.

Tested-by: Peter Xu <address@hidden>
Tested-by: Wei Yang <address@hidden>
Tested-by: Cornelia Huck <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
Signed-off-by: Daniel P. Berrangé <address@hidden>


  Commit: 7ff91278623f2ca6888c21b6567648c69692f783
      
https://github.com/qemu/qemu/commit/7ff91278623f2ca6888c21b6567648c69692f783
  Author: Peter Maydell <address@hidden>
  Date:   2019-09-13 (Fri, 13 Sep 2019)

  Changed paths:
    M tests/test-util-filemonitor.c

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/berrange/tags/filemon-test-pull-request' into staging

Fix filemonitor test broken with newest Linux kernel

# gpg: Signature made Wed 11 Sep 2019 10:31:05 BST
# gpg:                using RSA key DAF3A6FDB26B62912D0E8E3FBE86EBB415104FDF
# gpg: Good signature from "Daniel P. Berrange <address@hidden>" [full]
# gpg:                 aka "Daniel P. Berrange <address@hidden>" [full]
# Primary key fingerprint: DAF3 A6FD B26B 6291 2D0E  8E3F BE86 EBB4 1510 4FDF

* remotes/berrange/tags/filemon-test-pull-request:
  tests: make filemonitor test more robust to event ordering

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/a30cb4b1f22c...7ff91278623f



reply via email to

[Prev in Thread] Current Thread [Next in Thread]