pharo
pharo copied to clipboard
#skipOnPharoCITestingEnvironment seems to not work on WIN and MAC
Bug description testJobIsFinishedWhenWaitingMoreThanWorkBlockDuration is failing on win even thought it does
" self skipOnPharoCITestingEnvironment."
This is related to environment variables:
onPharoCITestingEnvironment
^ Smalltalk os environment at: 'PHARO_CI_TESTING_ENVIRONMENT' ifPresent: [ true ] ifAbsent: [ false ]
on MAC, too:
SpJobListPresenterTest>>#testJobIsFinishedWhenWaitingMoreThanWorkBlockDuration
was failing even though it is skipped
What is odd: if skipOnPharoCITestingEnvironment would not work, we should see much more tests failing.
I checked the CI: the variable was not defined globally, I added it back
Still not working correctly
After adding it to the global config had no effect, I added the environment variable to all the CI machine runner setups
The test testJobIsFinishedWhenWaitingMoreThanWorkBlockDuration does not have #skipOnPharoCITestingEnvironment...
so it seems the mechanism works, but some methods miss the tag.