diff options
author | Luke Kanies <luke@madstop.com> | 2009-08-18 18:14:10 -0700 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-08-24 11:38:19 +1000 |
commit | c7526808c9d2d7efbcc39f33112001bd9bd42b56 (patch) | |
tree | 0a9e3d3ae008941734cd07a3d0b81a75bcddc9a5 /lib | |
parent | ea417d60915fcb68aeebaf750abb57cb5604fe6d (diff) | |
download | puppet-c7526808c9d2d7efbcc39f33112001bd9bd42b56.tar.gz puppet-c7526808c9d2d7efbcc39f33112001bd9bd42b56.tar.xz puppet-c7526808c9d2d7efbcc39f33112001bd9bd42b56.zip |
Fixing a heisenbug resulting from a race condition
We had a case where an expectation could be triggered
before the thread finished, in which case it was marked
as a failure.
We just stub the Thread.new to avoid creating a "real"
thread, thus skipping the race condition.
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions