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
I was seeing unexpected success on a test suite, it turns out I did not have the JDK installed correctly on my new machine.
When failures such as this occur firebase emulators:exec "exit 1" returns a success code and only i emulators: Shutting down emulators.
I didn't see I what the issue was until I used --debug. This could be a footgun for those using the emulators for integration tests. Having seen this I expect there may be similar classes of errors.
The text was updated successfully, but these errors were encountered:
jamesdaniels
changed the title
No JDK causes emulators:exec to immediately exit with a successful error code & no useful error
No JDK causes emulators:exec to immediately exit with a successful error code
Nov 20, 2024
jamesdaniels
changed the title
No JDK causes emulators:exec to immediately exit with a successful error code
No JDK causes emulators:exec to immediately exit with a success code
Nov 20, 2024
Thanks for raising this @jamesdaniels. I'm able to reproduce the issue. As you mentioned, this would cause a false positive on integration tests if the user doesn't have JDK installed, or if it was incorrectly installed in their machine.
I'll mark this as reproducible and discuss this with some of our colleagues.
I was seeing unexpected success on a test suite, it turns out I did not have the JDK installed correctly on my new machine.
When failures such as this occur
firebase emulators:exec "exit 1"
returns a success code and onlyi emulators: Shutting down emulators.
I didn't see I what the issue was until I used
--debug
. This could be a footgun for those using the emulators for integration tests. Having seen this I expect there may be similar classes of errors.The text was updated successfully, but these errors were encountered: