Skip to content

Commit

Permalink
Don't use yes in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladislav Alekseev authored and Teamcity Account committed Jul 5, 2020
1 parent 7956115 commit 3f12679
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ final class DefaultProcessControllerTests: XCTestCase {
dateProvider: dateProvider,
fileSystem: fileSystem,
subprocess: Subprocess(
arguments: ["/usr/bin/yes"],
arguments: ["/bin/sleep", "99"],
automaticManagement: .sigintThenKillAfterRunningFor(interval: 1)
)
)
Expand All @@ -424,7 +424,7 @@ final class DefaultProcessControllerTests: XCTestCase {
dateProvider: dateProvider,
fileSystem: fileSystem,
subprocess: Subprocess(
arguments: ["/usr/bin/yes"],
arguments: ["/bin/sleep", "99"],
automaticManagement: .sigtermThenKillAfterRunningFor(interval: 1)
)
)
Expand Down

0 comments on commit 3f12679

Please sign in to comment.