1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-23 02:26:49 -05:00
Commit Graph

298 Commits

Author SHA1 Message Date
秋のかえで
2332513471
Chore: fix gofumpt lint (#1719) 2022-04-06 23:48:16 +08:00
yuhan6665
5b9f7821ea
Test: Add statistics in conn testing (#1444)
* Add statistics in conn testing

Occasional error is observed when we execute long test
Print time and memory for better troubleshooting in the future

* fix: units import version error

Co-authored-by: Kslr <kslrwang@gmail.com>
Co-authored-by: Kslr <hi@kslr.org>
2022-04-06 12:22:35 +08:00
Shelikhoo
3ef7feaeaf
update version: auto replacement to v5 path 2022-01-02 15:16:23 +00:00
秋のかえで
1ebb564047
Chore: change scenarios tests of VMess to AEAD 2022-01-01 11:10:09 +08:00
yuhan6665
2bbf2523e0
Fix: increase some TLS tests timeout (#1422) 2021-11-27 12:57:27 +08:00
世界
a66bb28aee
Reformat code 2021-10-28 18:34:19 +08:00
Shelikhoo
ee185a5824
rework protocol buffer log settings 2021-10-02 22:29:37 +01:00
yuhan6665
c58811c14b
Fix flaky TestVMessDynamicPort (#723)
(cherry-picked from a4cd3110f1, modified by committer)

See Also: https://github.com/v2fly/v2ray-core/pull/1289
2021-09-30 15:27:29 +01:00
yuhan6665
d84ead3e00
Fix some tests to use udp.PickPort()
(cherry picked from commit 9458a1abd3, modified by committer)

In the previous version of the test code, when attempting to listen for a UDP socket, the port availability check check for TCP port instead of UDP port. This make it possible to select a UDP port that is unavailable.

See Also: https://github.com/v2fly/v2ray-core/pull/1302
2021-09-30 15:27:27 +01:00
Shelikhoo
52d414fa49
integrate ioutil migration in test
Some inconsistent change have been introduced in a previous version of ioutil migration(0c3105691f).
2021-09-29 09:25:23 +01:00
Shelikhoo
0c3105691f
refactor: move from io/ioutil to io and os package (#1298)
Author: Eng Zer Jun <engzerjun@gmail.com>
Date:   Mon Sep 27 00:56:31 2021 +0800

    refactor: move from io/ioutil to io and os package (#1298)
2021-09-27 23:02:19 +01:00
Shelikhoo
98ee44befd
update test for router refactor 2021-09-07 13:43:28 +01:00
Shelikhoo
b3fb85804d
fix CI test issue 2021-09-04 11:13:31 +01:00
Shelikhoo
ba2dd5995d
replace TypedMessage with anypb.Any 2021-09-04 11:13:28 +01:00
Jebbs
2523d77919
improve commands
(rebased from ebbf31f07e)
2021-09-04 11:11:45 +01:00
young-zy
12dfbc78a3
Update protobuf version (rebased from 6d25d51519)
Some change is not adopted since it would break the code base. These changes will be reintroduced at a later date.
2021-09-04 11:09:58 +01:00
Kslr
d1eafe2b4c
Fix: test run command (#463) 2021-09-04 11:05:19 +01:00
database64128
c78ee5aac7
🏡 Housekeeping: Update to Go 1.17 (#1215)
* ⬆ Update to Go 1.17

* 🏗 Update workflows and add windows-arm64

* 💾 Update generated files

* 📛 Update not-so-friendly filenames
2021-08-21 13:20:40 +08:00
Shelikhoo
73ee3b0b1c
Added test for no terminate signal 2021-06-22 12:26:13 +01:00
Shelikhoo
0822160008
VMess AEAD based packet length 2021-06-22 12:26:01 +01:00
Shelikhoo
6263315923
added test case for pinned certificates 2021-04-15 19:49:26 +01:00
Shelikhoo
77bddcceb7
Test for Imaginary Security Level: zero 2021-03-01 16:13:59 +00:00
Loyalsoldier
f94dd11a8c
Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
Kslr
405a051c50
Test: fix http2 dial timeout (#570)
* fix http2 dial timeout
2021-01-11 17:03:03 +08:00
loyalsoldier
87e857ee3f
Chore: minor fixes 2021-01-01 12:52:04 +08:00
Kslr
42f0f5dfec
remove deprecate ciphers in shadowsocks (#566)
* remove deprecate ciphers in shadowsocks
2021-01-01 10:18:00 +08:00
dyhkwong
291eff1aa3
Refine Android build (#525)
Co-authored-by: ghost <noreply@example.com>
2020-12-17 08:50:13 +08:00
Loyalsoldier
5e99737c12
Fix: close response body (#484) 2020-12-03 16:07:41 +08:00
Loyalsoldier
b68f943c78
Fix lint according to golangci-lint (#439) 2020-11-22 05:05:01 +08:00
loyalsoldier
784775f689
Refine code according to golangci-lint results 2020-10-11 19:22:46 +08:00
Kslr
9f344fa1c9
remove shadowsosks ota (#238)
* remove shadowsosks ota

* remove unused buf.Reader
2020-10-02 16:13:31 +08:00
loyalsoldier
1fa89b32d4
Format: run go fmt ./... 2020-08-30 21:17:22 +08:00
Shelikhoo
218d6204b8
Fix test break on socks TestSocksConformance, use ip instead of hostname 2020-06-28 13:59:26 +08:00
Kslr
475676eb87
update h12.io/socks 2020-06-27 20:36:10 +08:00
Shelikhoo
00103d1f73
Fix tests 2020-06-08 16:16:50 +08:00
Shelikhoo
09b81b78c3
regenerate pb data 2020-06-08 16:16:32 +08:00
Shelikhoo
38e89bd2c7
VMess will Drain Connection On Auth failure 2020-06-03 11:25:47 +08:00
Shelikhoo
4448d37c2b
Merge branch 'master' of github.com:v2ray/v2ray-core 2019-12-26 19:34:48 +08:00
vcptr
2a78af34fd fix: KCPLarge buffer size too small 2019-11-27 14:40:28 +08:00
Shelikhoo
8cf38342e9
Delay Closing Connection so that test have chance to complete(Additional) 2019-06-07 12:05:06 +08:00
Shelikhoo
dd8e957f59
Delay Closing Connection so that test have chance to complete 2019-06-07 10:01:23 +08:00
Darien Raymond
950e226293
run coverage with go module 2019-02-13 11:06:39 +01:00
Darien Raymond
932e09a388
remove dep of assert lib 2019-02-09 15:46:48 +01:00
Darien Raymond
0f805ef81d
fix blackhole test for windows 2019-02-07 19:29:32 +01:00
Darien Raymond
bd231b6b8c
extend timeout 2019-02-06 12:33:27 +01:00
Darien Raymond
e0581b6c82
fix broken tests 2019-02-06 12:11:09 +01:00
Darien Raymond
4613008148
fix broken tests 2019-02-06 11:53:33 +01:00
Darien Raymond
729e448a35
fix a broken test 2019-02-06 11:30:20 +01:00
Darien Raymond
66a60dbfa3
remove dep on assert lib 2019-02-03 19:46:53 +01:00
Darien Raymond
bdd71a44b4
remove dep on assert lib 2019-02-02 22:19:30 +01:00