173 attempted to fix the EtherCAT system tests that have deployment issues as-written when used with the latest driver stack. The change implemented there works when a system definition is deployed to a 'dirty' controller (Scan Engine config has been deployed on it). However, on a freshly imaged controller, the call to download the FPGA bitfile fails.
To work around this behavior, this change first deploys the system definition file. This fails, but then allows the bitfile deployment to succeed.
Why should this Pull Request be merged?
Fixes broken system test that was not fixed by #173
What testing has been done?
Tested on a freshly imaged PXI controller. This also works by deleting the ECAT config (/var/local/natinst/deployfwk) and rebooting before deploying.
What does this Pull Request accomplish?
173 attempted to fix the EtherCAT system tests that have deployment issues as-written when used with the latest driver stack. The change implemented there works when a system definition is deployed to a 'dirty' controller (Scan Engine config has been deployed on it). However, on a freshly imaged controller, the call to download the FPGA bitfile fails.
To work around this behavior, this change first deploys the system definition file. This fails, but then allows the bitfile deployment to succeed.
Why should this Pull Request be merged?
Fixes broken system test that was not fixed by #173
What testing has been done?
Tested on a freshly imaged PXI controller. This also works by deleting the ECAT config (/var/local/natinst/deployfwk) and rebooting before deploying.