mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-27 15:01:03 +08:00
Optimize test coverage
This commit is contained in:
commit
3773ef45e7
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -69,7 +69,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
ssl: ["", MBEDTLS] #ssl: ["", MBEDTLS, OPENSSL]
|
||||
select: [-DMG_ENABLE_POLL=0, -DMG_ENABLE_POLL=1]
|
||||
select: ["-DMG_ENABLE_POLL=0 -DMG_ENABLE_EPOLL=1", -DMG_ENABLE_POLL=1]
|
||||
exclude:
|
||||
- ssl: MBEDTLS
|
||||
select: -DMG_ENABLE_POLL=0
|
||||
|
@ -1268,8 +1268,7 @@ static void test_http_client(void) {
|
||||
mg_mgr_poll(&mgr, 1);
|
||||
#if 0
|
||||
{
|
||||
// TODO(): Test failed host validation, mg_tls_init() is called on
|
||||
// mg_connect() if url is https,
|
||||
// TODO(): Test failed host validation, mg_tls_init() is called on mg_connect() if url is https,
|
||||
// hence we fake it and manually call it later with a wrong host name
|
||||
const char *furl = "http://cesanta.com:443";
|
||||
struct mg_str srvname;
|
||||
|
Loading…
x
Reference in New Issue
Block a user