confluentinc / ducktape

System integration and performance tests
12 stars 93 forks source link

Fix failure to load if discovery symbol characters in json #278

Closed imcdo closed 3 years ago

imcdo commented 3 years ago

Currently in ducktape if you try to load a test with characters used in the loading process in your json, the loader will fail to discover tests. ex: dummy_test.py::DummyTest.test@{'version':'1.0.0.'} - fails to load with an Invalid discovery symbol: loader error

to fix this, I manually split by the rightmost occurrence of the split character, and allow the failures to occur when loading json.