codeceptjs / CodeceptJS

Supercharged End 2 End Testing Framework for NodeJS
http://codecept.io
MIT License
4.11k stars 723 forks source link

It takes a long time to finish the process after testing #4294

Open Hydrair opened 6 months ago

Hydrair commented 6 months ago

What are you trying to achieve?

I'm trying to run a test.

What do you get instead?

After running the test, codecept takes a long time to quit the process. It does not matter if the test succeeds or fails. After the test runs are finished, it just stays at OK in ... or finished teardown hook with --verbose. This happens randomly, sometimes finishing fast, but more often lasting up to several minutes.

Provide console output if related. Use --verbose mode for more details.

  ✔ OK in 12663ms

    --- STARTED "after each" hook: After for "Scenario1" ---
    Emitted | provisioning.user.removed ([object Object])
    Emitted | provisioning.user.removed ([object Object])
    --- ENDED "after each" hook: After for "Scenario1" ---

  OK  | 1 passed   // 16s
    started teardown hook
    Emitted | provisioning.context.removed ([object Object])
    finished teardown hook

✨  Done in 316.64s.

Provide test source code if related Happens randomly to all tests.

Details

}

github-actions[bot] commented 3 months ago

This issue is stale because it has been open for 90 days with no activity.

Horsty80 commented 2 months ago

I have "stale" process issue to, but i'm unable to determine why ?

Any help on this ✌️