aboutsummaryrefslogtreecommitdiff
path: root/tests/core/net
Commit message (Collapse)AuthorAgeFilesLines
* Make sure we are listening before starting the clientLaytan Laats2024-02-201-15/+10
|
* Add logs to flaky testLaytan Laats2024-02-201-6/+33
|
* Remove flaky testLaytan Laats2024-02-201-23/+0
| | | | | | | It wasn't testing the right thing in the previous iteration. And in this iteration the behaviour is a timeout on Unix, and nothing on Windows.
* Improve net testsLaytan Laats2024-02-201-128/+81
| | | | | | | | | | | | | | | | | Watching the sporadic CI failures it seems to come from these tests a lot of the time, this PR cleans up and simplifies (while testing the same things): 1. Lots of tests were using threads without a need for it 2. Tests had hardcoded `time.sleep` calls which is never a good idea 3. An unclear abstraction was implemented without a real need 4. They weren't being ran on non-windows 5. The `client_connects_to_open_but_not_accepting_port` was not doing what you wanted to test for, the `tcp_server` proc was returning, and then `dial` was called, which meant that the server already closed and you got a refusal error. Now it correctly listens without accepting, which even results in a different error because the kernel buffer would have buffered the send
* Fix net.split_urlJeroen van Rijn2023-11-091-0/+5
| | | | Resolves issue #2924
* Make core:net test os.exit(1) on failure.Jeroen van Rijn2023-09-301-0/+5
|
* Allow any order of query strings in net.join_url tests.Jeroen van Rijn2023-09-301-24/+98
|
* Add test for net.split_urlYoshihiro Tanaka2023-05-141-9/+49
|
* Join URL queries with &Yoshihiro Tanaka2023-05-141-1/+35
|
* Apply #shared_nil to Network_ErrorJeroen van Rijn2023-03-041-7/+10
|
* Finish cleaning up core_net.Jeroen van Rijn2023-03-031-2/+2
|
* manually start merging core_netColin Davidson2023-03-011-0/+508