Closed cmd-ntrf closed 2 years ago
Unit tests will likely fail on this:
That might be only update needed to get tests to pass. CentOS 8 tests will fail, something I can fix later.
I have updated globus_config.rb to reflect the change.
The acceptance test failures are something broken with Globus CLI, I've opened a case with Globus. The acceptance tests don't test the code path changed in this pull request, so looks good.
This is released as v6.0.1
Execution of the command
globus-node-setup
is currently expected to create the file/var/lib/globus-connect-server/info.json
. However, since at leastglobus-connect-server54
version5.4.39
, the file is actually created by the preceding commandExec['globus-endpoint-setup']
, but the file is left empty forglobus-node-setup
to fill.This PR replaces the original condition
by the following condition that tests that the file exists and is not empty.
This guarantees the execution of
globus-node-setup
regardless of which command creates the file/var/lib/globus-connect-server/info.json
in preceding, current and future version of globus-connect-server.