Skip to content

Fix loosing ipc events before client is connected #156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

thomaswinkler
Copy link
Contributor

@thomaswinkler thomaswinkler commented Jan 25, 2023

When starting the plugin, the IPC connection is established where the events from Cypress will be emitted to. As establishing the IPC connection takes some time, events coming in before IPC client is connected might actually not be emitted and uploaded to Report Portal. This might happen for example if events are created in Cypress before hook.

This is a proof-of-concept implementation. Not sure if there is a better way of doing this with NodeIPC.Client.

Anyone any thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant