ciao-project / ciao

Ciao - Cloud Integrated Advanced Orchestrator
Apache License 2.0
214 stars 51 forks source link

Test certificate file generation missing #858

Open bryteise opened 7 years ago

bryteise commented 7 years ago

Unit tests should not require creating cert files in /etc but there is currently no test mechanism for getting certificate files similarly to how testutil/ssntp_test_certs.go can get certificate strings. The ssntp/certs/certs.go certificate creation functions can be used to provide a test certificate file creation mechanism.

markdryan commented 7 years ago

There's a related issue here:

https://github.com/01org/ciao/issues/648

Would be good to get this fixed. I spent 20 minutes today creating and copying certs in order to get the unit tests running on my local machine.

bryteise commented 7 years ago

Ah my goal was to actually start looking at converting/adding tests to make use of this (not sure when since I'm doing this for tracing tests and need to get back to advancing that feature). Glad that's something we are tracking elsewhere, thanks!