This repository has been archived by the owner on Jan 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 302
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
functional: a new test TestScheduleGlobalConflicts
Introduce a new test TestScheduleGlobalConflicts, to cover the case of global units that conflict with each other. Start 2 global units one after another, and check if only the first one can be found.
- Loading branch information
Dongsu Park
committed
May 30, 2016
1 parent
3d876bf
commit c2e360d
Showing
3 changed files
with
98 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[Unit] | ||
Description=Test Unit | ||
|
||
[Service] | ||
ExecStart=/bin/bash -c "while true; do echo Hello, World!; sleep 1; done" | ||
|
||
[X-Fleet] | ||
Global=true | ||
Conflicts=conflict-global.*.service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[Unit] | ||
Description=Test Unit | ||
|
||
[Service] | ||
ExecStart=/bin/bash -c "while true; do echo Hello, World!; sleep 1; done" | ||
|
||
[X-Fleet] | ||
Global=true | ||
Conflicts=conflict-global.*.service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters