Skip to content

Commit

Permalink
test: fix after change of flag
Browse files Browse the repository at this point in the history
  • Loading branch information
fstagni committed Oct 31, 2023
1 parent 8e487eb commit 6a283c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,9 @@ jobs:
run: |
cd Pilot
export VO_LHCB_SW_DIR=${GITHUB_WORKSPACE}/Pilot
curl https://lhcbdirac.s3.cern.ch/Pilot3/LHCbPilotCommands.py -o LHCbPilotCommands.py
curl https://gitlab.cern.ch/fstagni/LHCbPilot/-/raw/debug/LHCbPilot/LHCbPilotCommands.py -o LHCbPilotCommands.py
cp ../tests/CI/${{ matrix.pilot_schema }} pilot.json
sed -i "s/VAR_JENKINS_SITE/DIRAC.Jenkins.ch/g" pilot.json
sed -i "s/VAR_JENKINS_CE/jenkins-lhcb.cern.ch/g" pilot.json
Expand Down
2 changes: 1 addition & 1 deletion Pilot/tests/Test_simplePilotLogger.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def test_getOptionForPaths(self):
with open(jsonFile, "r") as fp:
jsonDict = json.load(fp)
res = PilotParams.getOptionForPaths(paths, jsonDict)
self.assertEqual(res["RemoteLogging"], "True")
self.assertEqual(res["RemoteLogging"], "False")
self.assertEqual(res["UploadSE"], "UKI-LT2-IC-HEP-disk")
del jsonDict[vo]["Pilot"]["RemoteLogging"] # remove a vo-specific settings, a default value is False:
res = PilotParams.getOptionForPaths(paths, jsonDict)
Expand Down

0 comments on commit 6a283c6

Please sign in to comment.