You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
samyfodil
changed the title
tests being passed because TAU_TEST_GIT_TOKEN -> TEST_GIT_TOKEN
Tests being passed because TAU_TEST_GIT_TOKEN -> TEST_GIT_TOKEN
May 4, 2024
samyfodil
changed the title
Tests being passed because TAU_TEST_GIT_TOKEN -> TEST_GIT_TOKEN
Tests being skipped because TAU_TEST_GIT_TOKEN -> TEST_GIT_TOKEN
May 4, 2024
During a refactor environment variable TAU_TEST_GIT_TOKEN was changed to TEST_GIT_TOKEN
Some tests were disabled because of that. A solution is to add backward compatibility here https://github.com/taubyte/tau/blob/main/libdream/helpers/variables.go#L53
meaning: I can use TAU_TEST_GIT_TOKEN or TEST_GIT_TOKEN
Once that done, re-activate all tests affected by the issue like: https://github.com/taubyte/tau/blob/main/clients/p2p/auth/client_test.go
When testing you need to use a valid github token like this:
Some tests will run containers, so you'll need to have docker installed
Also, I recommend running with
-p 1
as some tests are resource heavyThe text was updated successfully, but these errors were encountered: