forked from forgejo/forgejo
This reverts commit e4238583db
.
Refs: https://codeberg.org/forgejo/forgejo/issues/395
This commit is contained in:
parent
cd299fc44d
commit
cb7ea004ee
9 changed files with 145 additions and 228 deletions
|
@ -83,7 +83,7 @@ func TestManager_Remove(t *testing.T) {
|
|||
|
||||
assert.NotEqual(t, GetContext(p1Ctx).GetPID(), GetContext(p2Ctx).GetPID(), "expected to get different pids got %s == %s", GetContext(p2Ctx).GetPID(), GetContext(p1Ctx).GetPID())
|
||||
|
||||
finished()
|
||||
pm.Remove(GetPID(p2Ctx))
|
||||
|
||||
_, exists := pm.processMap[GetPID(p2Ctx)]
|
||||
assert.False(t, exists, "PID %d is in the list but shouldn't", GetPID(p2Ctx))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue