Debug mode cannot be turned off for conformance test
shizhMSFT opened this issue · 1 comments
export OCI_DEBUG=0
is not working for the conformance test.
Root cause:
distribution-spec/conformance/setup.go
Line 188 in f453e4a
distribution-spec/conformance/setup.go
Lines 198 to 207 in f453e4a
Line 201 of setup.go
always set the debug mode to true
without evaluating the debug
value from OCI_DEBUG
at line 188.
I believe this is intentional. The debug variable is used with:
httpWriter = newHTTPDebugWriter(debug)
and the output is significantly longer when running conformance with debugging, showing each request/response to the user running the conformance test. The reggie debug setting I believe is supposed to be separate and is required for the conformance reports.
CC @jdolitsky