[ovs-git] [openvswitch/ovs] da692c: test-atomic: Stop testing when running slow.

GitHub noreply at github.com
Wed Jan 14 00:42:08 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: da692cbd627d04508ee3a546b7112b8d3a1edcd8
      https://github.com/openvswitch/ovs/commit/da692cbd627d04508ee3a546b7112b8d3a1edcd8
  Author: Jarno Rajahalme <jrajahalme at nicira.com>
  Date:   2015-01-13 (Tue, 13 Jan 2015)

  Changed paths:
    M tests/test-atomic.c

  Log Message:
  -----------
  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 mailing list