Commit 4547327b authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Fixed test_task_idemoptent stall

parent c2865158
...@@ -30,6 +30,7 @@ all: ceph-config ...@@ -30,6 +30,7 @@ all: ceph-config
mount --bind tmp /tmp mount --bind tmp /tmp
tar xf ceph-14.2.0.tar.gz tar xf ceph-14.2.0.tar.gz
patch -Np1 -d ceph-14.2.0 < ceph-14.2.0-fix_tests.patch
cd ceph-14.2.0 && ./do_cmake.sh -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LIBEXECDIR=/lib -DWITH_SPDK=OFF -DWITH_RDMA=OFF -DWITH_RADOSGW_AMQP_ENDPOINT=OFF cd ceph-14.2.0 && ./do_cmake.sh -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LIBEXECDIR=/lib -DWITH_SPDK=OFF -DWITH_RDMA=OFF -DWITH_RADOSGW_AMQP_ENDPOINT=OFF
$(MAKE) -C ceph-14.2.0/build npm_config_cache=/build/.npm $(MAKE) -C ceph-14.2.0/build npm_config_cache=/build/.npm
hostname localhost hostname localhost
......
diff -uNr ceph-14.2.0/src/pybind/mgr/dashboard/tests/test_task.py ceph-14.2.0-fix_tests/src/pybind/mgr/dashboard/tests/test_task.py
--- ceph-14.2.0/src/pybind/mgr/dashboard/tests/test_task.py 2019-03-18 20:38:29.000000000 +1030
+++ ceph-14.2.0-fix_tests/src/pybind/mgr/dashboard/tests/test_task.py 2019-05-11 14:01:21.371853023 +0930
@@ -223,7 +223,6 @@
self.assertEqual(len(ex_t), 1)
self.assertEqual(ex_t[0].name, 'test6/task1')
task1.resume()
- self.wait_for_task('test6/task1')
ex_t, fn_t = TaskManager.list('test6/*')
self.assertEqual(len(ex_t), 0)
self.assertEqual(len(fn_t), 1)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment