Skip to content

Commit

Permalink
xxx
Browse files Browse the repository at this point in the history
Fixes #
Closes #
Needed for #
See also #

NO_CHANGELOG=internal
NO_DOC=internal
NO_TEST=internal
  • Loading branch information
ligurio committed Jul 3, 2023
1 parent a5614c4 commit 5525390
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions test/app-luatest/gh_6128_background_mode_test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ pid_file='%s', background=true, work_dir='%s', log='%s',
end, g.log_path)
end)

g.after_test("test_background_mode_box_cfg", function(cg)
cg.ph:terminate()
cg.ph:wait()
cg.ph:close()
fio.unlink(cg.pid_path)
fio.unlink(cg.log_path)
g.after_test("test_background_mode_box_cfg", function(_)
require('log').info(g.ph:info())
g.ph:kill()
g.ph:close()
fio.unlink(g.pid_path)
fio.unlink(g.log_path)
os.remove("*.xlog")
os.remove("*.snap")
end)
Expand Down Expand Up @@ -98,12 +98,12 @@ g.before_test("test_background_mode_env_vars", function()
end, g.log_path)
end)

g.after_test("test_background_mode_env_vars", function(cg)
cg.ph:terminate()
cg.ph:wait()
cg.ph:close()
fio.unlink(cg.pid_path)
fio.unlink(cg.log_path)
g.after_test("test_background_mode_env_vars", function(_)
require('log').info(g.ph:info())
g.ph:kill()
g.ph:close()
fio.unlink(g.pid_path)
fio.unlink(g.log_path)
os.remove("*.xlog")
os.remove("*.snap")
end)
Expand Down

0 comments on commit 5525390

Please sign in to comment.