[ovs-git] [openvswitch/ovs] da692c: test-atomic: Stop testing when running slow.
noreply at github.com
Wed Jan 14 00:42:08 UTC 2015
Author: Jarno Rajahalme <jrajahalme at nicira.com>
Date: 2015-01-13 (Tue, 13 Jan 2015)
test-atomic: Stop testing when running slow.
When the test suite is run on an OS with 1 core (e.g., a VM with one
core assigned to it), some of the atomic memory model tests take a
long time, with the effect that the test seems stuck.
This patch stops these tests after one second and only fails the test
if there has not been any significant progress, allowing the test to
pass also when running only with one core.
Reported-by: Motonori Shindo <motonori at shin.do>
Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
More information about the git