Commit Graph

224 Commits

Author SHA1 Message Date
Marten Seemann
f5abd5d858 delete empty files in the integration tests folder
These empty files were necessary in Go 1.8, but are obsolete now.
2017-08-31 17:18:40 +07:00
Marten Seemann
f1ada87dcf make the protocol package internal 2017-08-30 00:19:44 +07:00
Marten Seemann
ed522ebbce make wire an internal package 2017-08-29 23:51:56 +07:00
Marten Seemann
1794636220 more the PublicHeader to the wire package 2017-08-29 23:45:38 +07:00
Marten Seemann
8ff8637bb8 don't print Chrome output 2017-08-28 15:28:07 +07:00
Marten Seemann
3390564e98 Merge pull request #782 from lucas-clemente/quic39
add support for QUIC 39
2017-08-24 17:59:51 +07:00
Marten Seemann
2b683be36a add QUIC 39 to supported versions
The Chrome installed on Travis doesn't support QUIC 39 yet.
2017-08-24 17:05:57 +07:00
Marten Seemann
cbc6f64461 try to find the Chrome executable in different paths 2017-08-23 16:44:58 +07:00
Marten Seemann
dd0daaaf1e implement version-dependent parsing of the Public Header 2017-08-23 16:00:45 +07:00
Lucas Clemente
19d1210a9a Remove dataManager and move client_test.go from gquic/ to self/ 2017-08-18 12:06:37 +02:00
Lucas Clemente
6150e2d05d Add caching to PR data generation and add a separate prdatalong handler 2017-08-18 12:06:37 +02:00
Lucas Clemente
84db78db83 Move rest of integration tests into the gquic folder 2017-08-18 12:06:37 +02:00
Lucas Clemente
0b1d7c46f5 Rename handshake/ to self/, will be the place for future quic-go self tests 2017-08-18 12:06:37 +02:00
Lucas Clemente
57e0616b3d Simplify integration suite setup 2017-08-18 12:06:37 +02:00
Lucas Clemente
6277d633e0 Factor out inttest logging setup into a separate package 2017-08-18 12:06:37 +02:00
Lucas Clemente
bb5a199467 Move Chrome tests and test server setup to separate packages 2017-08-18 12:06:37 +02:00
Lucas Clemente
56cbce35b3 Move proxy/ to new tools/ folder 2017-08-18 12:06:37 +02:00
Lucas Clemente
8ec11c0b53 Move testdata/ to internal/ 2017-08-18 12:06:36 +02:00
Marten Seemann
1d1edfa615 use the gbytes.TimeoutReader in integration tests 2017-07-24 19:22:09 +07:00
Marten Seemann
e291066e48 increase RTT and make assertion more lenient in handshake test 2017-07-10 17:21:52 +08:00
Marten Seemann
32bc70ba0c fix flaky proxy test 2017-07-07 12:23:34 +02:00
Marten Seemann
c776a35b68 bind proxy to random port in proxy tests 2017-07-07 12:23:34 +02:00
Lucas Clemente
b6b4283d3f Retry starting Chrome if it doesn't hit the endpoints 2017-07-07 12:06:16 +02:00
Lucas Clemente
e0ba8b082d Replace docker with a directly launched Chrome for integration tests
The benefits:

- Speed up chrome tests (from 160s to 34s on my machine).
- Allow us to remove docker, which caused quite a few headaches.
- Gets us a more current Chrome, so now we run tests against all
  supported versions.
- We don't touch the FS anymore.
- We no longer depend on sudo for travis, which means we can use
  their new container-based infrastructure. This also speeds up our
  tests :)

Tests are now implemented in javascript; the server detects when
they are complete and kills Chrome.

Fixes #417.
2017-07-07 12:05:48 +02:00
Lucas Clemente
bf8ae2bb50 Pass -v to ginkgo in integrationtests 2017-07-05 21:02:13 +02:00
Marten Seemann
a851aaacda remove the tls.Config from the quic.Config
The tls.Config now is a separate parameter to all Listen and Dial
functions in the quic package.
2017-07-03 22:12:09 +02:00
Marten Seemann
9df3380bc6 rename the h2quic.QuicRoundTripper to h2quic.RoundTripper 2017-06-26 19:14:41 +02:00
twdkeule
d7ddadc7b7 Added test with large RTT (#679)
* Added test with large RTT

* Make RTT test for variable filesize

* Cleanup, don't log to new file

* Run RTT test with multiple RTT's (for only 500kB file)
2017-06-20 10:20:54 +02:00
Marten Seemann
45310d5898 Merge pull request #682 from lucas-clemente/fix-rtt-test
increase RTT and time constraints in handshake RTT tests
2017-06-16 15:06:55 +02:00
Marten Seemann
ab1aaf9355 fix flaky proxy tests 2017-06-16 13:24:13 +02:00
Marten Seemann
55dbc3c52f increase RTT and time constraints in handshake RTT tests 2017-06-16 12:49:42 +02:00
Lucas Clemente
960a445ebe Start a unique quic server per integration test case
This fixes a race condition that could lead to errors during version negotiation.

Fixes #676.
2017-06-15 14:05:31 +02:00
Marten Seemann
987905149b run gofmt to fix ordering of imports 2017-06-13 18:07:22 +02:00
Marten Seemann
c0b09c8646 make utils an internal package 2017-06-09 22:28:40 +02:00
Lucas Clemente
61c4faf4d1 Increase test timeouts 2017-06-09 16:56:14 +02:00
Lucas Clemente
f33e12831e Improve drop test scopes 2017-06-06 11:45:18 +02:00
Lucas Clemente
4f93969101 Run gosimple on our tree 2017-06-06 09:33:46 +02:00
Marten Seemann
37366ef882 add a handshake integration test for the handshake timeout 2017-06-01 20:08:07 +02:00
Marten Seemann
a025e89f03 Merge pull request #626 from lucas-clemente/fix-538
add tests measuring how many RTTs a handshake takes
2017-06-01 19:35:48 +02:00
Thomas De Keulenaer
0e0d62e809 Drop focus 2017-05-31 15:40:29 +02:00
Thomas De Keulenaer
a07eaac1fd Added possibility to drop multiple packets in a row. 2017-05-29 12:15:02 +02:00
Marten Seemann
f2ada4eef1 add tests using the source address validation 2017-05-27 18:53:28 +08:00
Marten Seemann
6b3165928f add tests measuring how many RTTs a handshake takes 2017-05-27 13:28:44 +08:00
Marten Seemann
0dbbb8d1b3 use the standard library log package for logging 2017-05-25 20:31:45 +08:00
Marten Seemann
b305cd674f make it possible to configure the QUIC versions for the server 2017-05-05 18:05:57 +08:00
Marten Seemann
b5ad169321 Merge pull request #586 from lucas-clemente/ginkgo-logfile-flag
introduce a logfile command line flag for the integrationtests
2017-05-05 16:40:25 +08:00
Marten Seemann
8b4042ddd1 introduce a logfile command line flag for the integrationtests
Use: ginkgo -failFast -- -logfile=log.txt
Ginkgo will create log.txt and set the log level to LogLevelDebug. Use
of -failFast is recommended to make sure that no other tests are run if
one test fails (the log file would be overwritten otherwise).
2017-04-30 15:13:29 +07:00
Marten Seemann
076e5a38d3 set ginkgo timeouts for client integrationtests 2017-04-30 14:02:37 +07:00
Marten Seemann
ff42100f1b Merge pull request #571 from lucas-clemente/wip-quic37
add support for QUIC 37
2017-04-29 17:10:53 +07:00
Marten Seemann
0a2c37d42a add QUIC 37 to supported versions
fixes #375
Chrome tests are disabled for QUIC 37, since the Chrome version in the
docker image doesn’t support this version yet.
2017-04-29 16:59:32 +07:00