dmwm / DBSClient

Apache License 2.0
3 stars 8 forks source link

Changes required for Go based DBSMigrate server tests and custom DBSeader #69

Closed vkuznet closed 2 years ago

vkuznet commented 2 years ago

@yuyiguo , I made these changes in order to pass DBS migration tests using the following command:

python3 setup_test.py test_system --host=https://cmsweb-testbed.cern.ch --reader=https://cmsweb-testbed.cern.ch/dbs2go --writer=https://cmsweb-testbed.cern.ch/dbs2go-writer --migrate=https://cmsweb-testbed.cern.ch/dbs2go-migrate --validation

In this test I used custom DBS server end-points, /dbs2go for DBSReader, /dbs2go-writer for DBSWriter and /dbs2go-migrate for DBSMigrate servers. With proposed changes all migration tests are passed ok.

vkuznet commented 2 years ago

@yuyiguo , thanks, very good catch, I missed this line somehow. Now it is fixed.