Skip to content

Commit

Permalink
Docker Cloud does not start processes at priority 0, remove from test
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Cormack <justin@specialbusservice.com>
  • Loading branch information
justincormack committed Aug 9, 2016
1 parent b85382d commit a779caa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2309,10 +2309,10 @@ test_mmap = {
test_processes = {
test_nice = function()
local n = assert(S.getpriority("process"))
assert_equal(n, 0, "process should start at priority 0")
local nn = assert(S.nice(1))
assert_equal(nn, 1)
local nn = assert(S.setpriority("process", 0, 1)) -- sets to 1, which it already is
--assert_equal(n, 0, "process should start at priority 0")
--local nn = assert(S.nice(1))
--assert_equal(nn, 1)
--local nn = assert(S.setpriority("process", 0, n)) -- sets to 1, which it already is
end,
test_fork_wait = function()
local pid0 = S.getpid()
Expand Down

0 comments on commit a779caa

Please sign in to comment.