50 Commits

Author SHA1 Message Date
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
holmes1412 db7e255011 mark EndpointAddress on tracing in WFServiceGovernance and UpstreamPolicies 2021-03-09 17:18:52 +08:00
liyingxin b8b6fdf9d8 add service for governance and other features (#253)
* add service for governance and other features
2021-02-18 18:07:39 +08:00
xiehan 58453a61df Merge pull request #239 from Barenboim/master
fix named counter dismiss bug
2021-02-02 19:21:55 +08:00
XieHan 4591cf42f3 fix named counter dismiss bug 2021-02-02 19:15:20 +08:00
holmes1412 1798a7913f add upstream_unittest.cc and fix check_get_strong() 2021-01-31 03:47:03 +08:00
Sonullx Liu dd8053b230 Change code style in memory_unittest.cc (#148)
* style: change code style in memory_unittest.cc
2020-11-09 20:29:06 +08:00
Sonullx Liu bd79faabdc Update unit tests (#114)
* test: add memory_unittest
2020-10-19 16:51:25 +08:00
Sonullx Liu c98a73ad7b Update unit tests (#104)
* test: correct TestSuitName and TestName

* test: add graph_unittest.cc

Add unittests of WFGraphTask.
2020-10-16 17:50:47 +08:00
XieHan 354ff7432b initialization 2020-07-29 13:42:26 +08:00