diff --git a/test/parallel/test-process-geteuid-getegid.js b/test/parallel/test-process-geteuid-getegid.js index e2daa1cf3651ed..41e37874a41b59 100644 --- a/test/parallel/test-process-geteuid-getegid.js +++ b/test/parallel/test-process-geteuid-getegid.js @@ -44,5 +44,5 @@ assert.notStrictEqual(newgid, oldgid); const olduid = process.geteuid(); process.seteuid('nobody'); -const newAsyncId = process.geteuid(); -assert.notStrictEqual(newAsyncId, olduid); +const newuid = process.geteuid(); +assert.notStrictEqual(newuid, olduid); diff --git a/test/parallel/test-process-setuid-setgid.js b/test/parallel/test-process-setuid-setgid.js index 30640b277a2f8a..41fef8c9c819fa 100644 --- a/test/parallel/test-process-setuid-setgid.js +++ b/test/parallel/test-process-setuid-setgid.js @@ -63,5 +63,5 @@ assert.notStrictEqual(newgid, oldgid); const olduid = process.getuid(); process.setuid('nobody'); -const newAsyncId = process.getuid(); -assert.notStrictEqual(newAsyncId, olduid); +const newuid = process.getuid(); +assert.notStrictEqual(newuid, olduid);