Nuix connection not closed on exit
Summary
Nuix connection is not closed on exit.
Steps to reproduce
Run any SCL that opens a nuix connection. e.g.
- <CaseName> = 'TestCase'
- <Investigator> = 'Antony'
- <CasePath> = 'D:\Shares\Cases\Nuix\TestCase'
- If (DoesDirectoryExist <CasePath>) (DeleteItem <CasePath>)
- NuixCreateCase CaseName: <CaseName> CasePath: <CasePath> Investigator: <Investigator>
Current Behavior
The sequence runs, but there is no Closing case
or
NuixConnectorScript finished
message logged which means
that the nuix connector script is not receiving the done
message. See https://gitlab.com/reductech/edr/connectors/nuixconnectorscript/-/blob/master/lib/nuixconnectorscript.rb#L163
2021/02/25 10:33:48.206 DEBUG EDR Sequence Started
...
2021/02/25 10:34:06.687 INFO NuixConnectorScript starting
2021/02/25 10:34:06.747 INFO Creating Case
2021/02/25 10:34:10.876 INFO Case Created
2021/02/25 10:34:11.555 DEBUG EDR Sequence Completed
Expected Behaviour
Case is closed and 'finished' is logged:
2021/02/25 10:34:10.876 INFO Case Created
2021/02/25 10:34:11.876 INFO Case closed
2021/02/25 10:34:12.687 INFO NuixConnectorScript finished
2021/02/25 10:34:13.555 DEBUG EDR Sequence Completed