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 TestScheduleReplace
TestScheduleReplace starts 1 unit, followed by starting another unit that replaces the 1st unit. Then it verifies that the 2 units are started on different machines.
- Loading branch information
Dongsu Park
committed
May 3, 2016
1 parent
12f2ab1
commit 0c52441
Showing
3 changed files
with
83 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,5 @@ | ||
[Unit] | ||
Description=Test Unit | ||
|
||
[Service] | ||
ExecStart=/bin/bash -c "while true; do echo Hello, World!; sleep 1; done" |
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,8 @@ | ||
[Unit] | ||
Description=Test Unit | ||
|
||
[Service] | ||
ExecStart=/bin/bash -c "while true; do echo Hello, World!; sleep 1; done" | ||
|
||
[X-Fleet] | ||
Replaces=replace.0.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