Mir

Comment 5 for bug 1540731

Revision history for this message
Alan Griffiths (alan-griffiths) wrote : Re: mir_acceptance_tests [ FAILED ] PromptSessionClientAPI.client_pid_is_associated_with_session

The expectation tests the PID is supplied by SocketMessenger::creator_creds() - which identifies the process on the other end of the socket - which happens in the test execution.

In when_prompt_provider_connects_over_fd_prompt_provider_added_with_right_pid the socket is connected to DummyPromptProvider and the PID is from the current process.

In byclient_pid_is_associated_with_session the socket is connected to another process (started with popen) and has a different PID.

I'll try updating my OS and see if I can reproduce.