The commit ("multipathd: don't modify the multipath device on show
commands") changed the paramters for update_multipath(). Update the
test to match.

Signed-off-by: Benjamin Marzinski <bmarz...@redhat.com>
---
 tests/dmevents.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/dmevents.c b/tests/dmevents.c
index 68c4ad46..f08e6499 100644
--- a/tests/dmevents.c
+++ b/tests/dmevents.c
@@ -332,13 +332,12 @@ void __wrap_remove_map_by_alias(const char *alias, struct 
vectors * vecs)
 /* pretend update the pretend dm devices. If fail is set, it
  * simulates having the dm device removed. Otherwise it just sets
  * update_nr to record when the update happened */
-int __wrap_update_multipath(struct vectors *vecs, char *mapname, int reset)
+int __wrap_update_multipath(struct vectors *vecs, char *mapname)
 {
        int fail;
 
        check_expected(mapname);
        assert_ptr_equal(vecs, waiter->vecs);
-       assert_int_equal(reset, 1);
        fail = mock_type(int);
        if (fail) {
                assert_int_equal(remove_dm_device_event(mapname), 0);
-- 
2.41.0


Reply via email to