Project

General

Profile

Actions

Bug #11838

closed

secflag tests are racy

Added by John Levon over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

If psecflags runs too soon, it can run before sleep is actually exec()ed, leading to a spurious failure.

Actions #1

Updated by John Levon over 2 years ago

  • Subject changed from tests/secflags/secflags_proc to tests/secflags/secflags_proc is racy
Actions #2

Updated by John Levon over 2 years ago

  • Subject changed from tests/secflags/secflags_proc is racy to secflag tests are racy

At least secflags_psecflags has a similar issue.

Actions #3

Updated by John Levon over 2 years ago

Tested in a loop overnight, and on busy and quiet systems.

Actions #4

Updated by Electric Monk over 2 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit fdfb6e575f06007c35263fbcdc483157ef62d712

commit  fdfb6e575f06007c35263fbcdc483157ef62d712
Author: John Levon <john.levon@joyent.com>
Date:   2019-10-28T23:05:28.000Z

    11838 secflag tests are racy
    Reviewed by: Robert Mustacchi <rm@fingolfin.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF