Re: [PATCH v2 3/3] tests/migration:fix unreachable path in stress test

2019-10-01 Thread Laurent Vivier
Le 11/09/2019 à 05:31, Mao Zhongyi a écrit : > if stress function always return 0, the path > 'if (stress(ramsizeGB, ncpus) < 0)' is nerver unreachable, > so fix it to allow the test failed. > > Cc: arm...@redhat.com > Cc: laur...@vivier.eu > Cc: tony.ngu...@bt.com > > Signed-off-by: Mao Zhongyi

Re: [PATCH v2 3/3] tests/migration:fix unreachable path in stress test

2019-10-01 Thread maozy
ping... On 9/11/19 11:31 AM, Mao Zhongyi wrote: if stress function always return 0, the path 'if (stress(ramsizeGB, ncpus) < 0)' is nerver unreachable, so fix it to allow the test failed. Cc: arm...@redhat.com Cc: laur...@vivier.eu Cc: tony.ngu...@bt.com Signed-off-by: Mao Zhongyi --- te

[Qemu-devel] [PATCH v2 3/3] tests/migration:fix unreachable path in stress test

2019-09-10 Thread Mao Zhongyi
if stress function always return 0, the path 'if (stress(ramsizeGB, ncpus) < 0)' is nerver unreachable, so fix it to allow the test failed. Cc: arm...@redhat.com Cc: laur...@vivier.eu Cc: tony.ngu...@bt.com Signed-off-by: Mao Zhongyi --- tests/migration/stress.c | 5 ++--- 1 file changed, 2 ins