59 Commits

Author SHA1 Message Date
Benson Muite 078f6183bc Use C++17 to be compatible with latest GTest 1.17 (#1805)
https://src.fedoraproject.org/rpms/workflow/c/ebe9d61d84a35c844dbd466bdfa0310632735141?branch=rawhide
2026-01-26 14:03:27 +08:00
Xie Han 527d22f9d8 Remove 'WIN32' from CMake files. 2025-10-11 19:16:17 +08:00
Xie Han 54943eb0ea Set CMake minimum requirement to version 3.10. 2025-07-24 20:30:12 +08:00
xiehan 81b20dfd90 Add CI for FreeBSD and fix compiling errors. (#1755) 2025-07-17 23:38:20 +08:00
liyingxin 76d2698cfa Make static library as default linking for tutorial/test/benchmark. (#1735) 2025-06-20 22:26:01 +08:00
xiehan 86a4b77c23 Tests always use C++14. (#1673) 2024-12-27 19:53:45 +08:00
xiehan e928e857a7 Remove some global macros and rename an interface. (#1665) 2024-12-02 01:04:06 +08:00
xiehan 195d23611a Use compiling flag '-Wno-deprecated-declarations' on macOS only. (#1580) 2024-06-23 02:14:12 +08:00
Xie Han 2ef0f6748a Add compiling flag '-Wno-deprecated-declarations'. 2024-06-21 01:59:41 +08:00
Xie Han 891b31e437 Update tests 2023-03-24 17:44:00 +08:00
Xie Han 9a2ebdb06e Test cases use github.com. 2023-03-24 17:37:03 +08:00
Xie Han 057b19ff2f Use www.example.com 2023-03-23 03:30:30 +08:00
holmes1412 d8b59aa4b1 UnitTest: Add checking Gtest_VERSION for cmake 3.26.0 2023-02-23 19:25:15 +08:00
xiehan 4d4388277a Merge pull request #1190 from holmes1412/master
UnitTest: remove tests for local redis server
2023-02-23 17:29:05 +08:00
holmes1412 b978a07c7a UnitTest: remove tests for local redis server 2023-02-23 17:27:51 +08:00
xiehan ca5b050f38 Merge pull request #1188 from holmes1412/master
UnitTest use c++14 if Gtest version >= 1.13.0
2023-02-23 16:57:44 +08:00
holmes1412 3e0ff22719 UnitTest: start a redis server if no local one; skip memory check if valgrind is not found; 2023-02-23 16:27:27 +08:00
holmes1412 577d320806 UnitTest use c++14 if Gtest version >= 1.13.0 2023-02-23 00:40:04 +08:00
Xie Han 906040e27f Fix mysql testing 2023-02-13 23:17:53 +08:00
Chanchan cd7818f332 fix : xmake is_os to is_plat 2023-01-05 19:48:06 +08:00
Chanchan 0eed2ba2e4 feat : xmake add valgrind 2023-01-05 19:46:15 +08:00
ruki 7db91f8bc8 improve xmake.lua 2023-01-04 00:32:29 +08:00
Xie Han 5f90a935c2 Fix test memory leak on OpenSSL 1.1 2022-12-28 22:10:38 +08:00
Chanchan c13addbeac fix : xmake link openssl in macos 2022-12-12 12:06:05 +08:00
Chanchan 30ba6c55ff fix : bin path/include dir 2022-12-10 23:01:26 +08:00
Chanchan fce0cc12c8 feat : support xmake build 2022-12-10 20:37:42 +08:00
XieHan 16e932667a remove redis test password 2022-12-05 02:24:18 +08:00
holmes1412 2ff1995a7d add passwd for redis unittest 2022-07-01 21:01:08 +08:00
holmes1412 517a89f6e0 update redis unittest 2022-07-01 19:34:13 +08:00
liyingxin 9e3bed7616 add unittest 2022-05-26 23:20:22 +08:00
liyingxin 3d707dd63a Upstream: Change rand() back to std::hash(). Same ip can be added multiple times. 2022-02-25 15:26:59 +08:00
liyingxin 37a1009677 optimize consistent_hash with map 2022-02-18 22:45:57 +08:00
liyingxin cf4f26fa3f ConsistentHashPolicy: change std_hash to rand. 2022-02-17 17:59:25 +08:00
XieHan 183a397118 Update CMake files to generate both static and shared libraries 2022-01-19 18:52:08 +08:00
XieHan a13d5d5885 fix URIParser bug 2021-12-04 01:14:07 +08:00
XieHan 638777c315 fix URLParser bug 2021-12-03 21:48:09 +08:00
XieHan ca950fffaa fix test case. 2021-10-30 17:36:58 +08:00
wzl12356 c6bbb11548 fix password bug 2021-09-08 18:47:50 +08:00
wzl12356 5d349f8e0f recode URIParser 2021-09-08 09:54:18 +08:00
holmes1412 002d28705e Add ref for EndpointAddresses for release server memory in remove_server() 2021-08-11 20:43:05 +08:00
ljh 2651fcbb89 add filename task check 2021-08-09 04:10:32 +00:00
holmes1412 2a9456b3ba update test/tutorial cmake 2021-07-26 17:47:02 +08:00
XieHan 209510897a fix WFResourcePool. 2021-07-22 20:02:37 +08:00
holmes1412 4bb63f4382 update codes 2021-07-22 00:13:26 +08:00
holmes1412 bdc4e98dc8 add unittest 2021-07-21 15:00:57 +08:00
XieHan a9940988b0 change cmake build directory 2021-07-13 17:13:45 +08:00
kedixa 76624fd6fb implement DnsTask and async WFDnsResolver 2021-06-01 21:43:12 +08:00
holmes1412 f55d5a2da8 update testcase 2021-03-26 17:51:29 +08:00
holmes1412 e46f97728e add UpstreamManager::upstream_delete() implementation 2021-03-26 16:52:49 +08:00
holmes1412 85344e2934 skip tracing in WeightedRandomPolicy and update version 0.9.5 2021-03-17 22:20:02 +08:00