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
This code at the start of the handler is working fine, but the debug line does not always come out in test logs when I run it, causing TEST 5 in config.t to fail intermittently. For now I have raised this minor issue in case it occurs for others.
if (!module_location_config->enable)
{
ngx_log_debug0(NGX_LOG_DEBUG_HTTP, request->connection->log, 0, "Module disabled");
returnNGX_DECLINED;
}
Tests are configured with a debug level like this, so it should work, and the log output is written if the C code uses a higher log level (though the logging would then be wrong).
The text was updated successfully, but these errors were encountered:
gary-archer
changed the title
Fix or remove failing test that uses ngx_debug_log
Fix or remove intermittent failing test that uses ngx_debug_log
Nov 2, 2022
This code at the start of the handler is working fine, but the debug line does not always come out in test logs when I run it, causing TEST 5 in config.t to fail intermittently. For now I have raised this minor issue in case it occurs for others.
Tests are configured with a debug level like this, so it should work, and the log output is written if the C code uses a higher log level (though the logging would then be wrong).
We could disable the test like this if we cannot find a way to make it work deterministically. Perhaps debug output is flushed in a delayed manner:
Currently this is not happening. It could be related to this section of the wiki.
The text was updated successfully, but these errors were encountered: