Daniel Nephin
0bb9c318b7
http: fix tests incorrectly using HTTPAddr to get the address of the
...
https server.
In #8234 I changed a few tests to use TestAgent.HTTPAddr() to find the
addr used in the test. Due to the way HTTPAddr() was implemented these
tests were passing, but I think the pass was incidental. HTTPAddr() was
not matching any servers, and was instead returning the last server,
which happened to be the one these tests wanted.
This commit fixes the implementation of HTTPAddr to panic if no match
was found. The tests which require an HTTPS server are changed to use
a new firstAddr() to look up the correct address.
2020-09-04 15:29:17 -04:00
..
2020-07-21 12:50:40 -04:00
2020-08-31 15:10:15 -04:00
2020-08-28 15:10:55 -04:00
2020-08-05 13:10:17 -04:00
2020-07-21 12:50:40 -04:00
2020-09-03 17:29:21 -04:00
2020-07-21 12:19:25 -04:00
2020-09-04 11:47:16 +02:00
2018-11-02 12:00:39 -05:00
2020-08-17 17:25:02 -04:00
2017-10-25 19:30:35 +02:00
2020-08-12 09:47:41 -06:00
2020-06-16 13:10:11 -04:00
2020-06-04 14:50:52 +02:00
2020-08-05 13:25:08 -04:00
2020-08-27 12:20:58 -05:00
2020-08-27 11:23:52 -04:00
2020-08-14 19:58:53 -04:00
2020-09-02 14:10:25 -05:00
2017-06-21 06:43:55 +02:00
2020-08-31 15:10:15 -04:00
2020-08-27 12:20:58 -05:00
2020-05-28 11:59:58 -04:00
2019-10-29 11:13:36 -07:00
2020-06-16 13:21:11 -04:00
2020-07-03 17:00:20 -04:00
2020-08-31 15:00:34 -04:00
2020-08-18 19:04:55 -04:00
2020-08-31 15:00:34 -04:00
2020-08-31 15:00:34 -04:00
2020-08-31 15:00:34 -04:00
2020-09-04 15:29:17 -04:00
2020-09-03 17:29:21 -04:00
2020-09-03 13:40:12 -04:00
2020-09-03 13:40:12 -04:00
2020-08-07 18:58:09 -04:00
2020-07-10 13:01:45 -06:00
2020-06-15 11:01:25 -04:00
2019-12-09 21:26:41 -05:00
2020-04-20 09:02:35 -05:00
2020-06-05 14:54:29 -07:00
2020-06-15 11:01:25 -04:00
2020-03-31 16:13:44 -04:00
2019-11-21 17:40:29 +00:00
2020-05-19 16:50:14 -04:00
2019-10-29 11:13:36 -07:00
2020-05-29 14:19:16 -04:00
2020-05-29 14:19:16 -04:00
2020-06-16 13:21:11 -04:00
2020-06-15 11:01:25 -04:00
2020-06-24 16:35:23 -05:00
2020-08-17 17:25:02 -04:00
2020-08-17 17:25:02 -04:00
2019-05-01 11:11:27 -04:00
2020-06-16 13:21:11 -04:00
2020-01-28 17:50:41 -06:00
2020-03-09 15:59:02 -05:00
2020-06-16 13:21:11 -04:00
2020-06-15 11:01:25 -04:00
2020-06-24 13:00:14 -04:00
2020-07-02 17:21:12 -04:00
2020-06-26 16:59:15 -05:00
2020-08-11 17:20:41 -06:00
2020-09-04 15:29:17 -04:00
2020-09-03 13:40:12 -04:00
2020-06-26 16:59:15 -05:00
2020-06-26 16:59:15 -05:00
2020-06-26 16:59:15 -05:00
2020-08-14 19:58:53 -04:00
2020-08-13 11:58:21 -04:00
2020-05-19 16:50:14 -04:00
2020-03-09 11:13:40 +01:00
2020-08-14 19:58:53 -04:00
2020-08-12 13:05:10 -04:00
2018-08-02 14:54:48 +01:00
2018-08-02 14:54:48 +01:00
2020-08-11 13:41:53 +02:00
2020-08-11 13:41:53 +02:00
2020-06-16 13:21:11 -04:00
2020-07-01 03:41:44 +01:00
2020-03-31 16:13:44 -04:00
2020-01-28 17:50:41 -06:00
2020-03-09 15:59:02 -05:00
2020-03-09 15:59:02 -05:00
2020-03-31 16:13:44 -04:00
2020-08-13 17:53:24 -04:00
2020-06-16 12:15:57 -04:00
2020-08-14 18:55:52 -04:00
2020-03-05 15:34:55 -05:00
2020-08-31 15:00:34 -04:00
2020-06-16 13:21:11 -04:00
2020-06-16 13:21:11 -04:00
2018-10-02 15:57:21 -05:00
2018-10-02 15:57:21 -05:00
2020-03-31 16:13:44 -04:00
2020-04-13 12:32:57 -04:00
2020-03-31 16:13:44 -04:00
2019-07-25 14:26:22 -04:00
2020-08-10 12:46:28 -04:00
2020-09-04 15:29:17 -04:00
2020-01-24 09:27:25 -05:00
2020-03-31 16:13:44 -04:00
2020-03-09 11:13:40 +01:00
2020-09-03 13:40:12 -04:00
2020-08-11 17:20:41 -06:00
2020-03-31 16:13:44 -04:00
2020-02-07 15:50:24 -06:00
2020-08-14 20:06:01 -04:00
2020-02-07 15:50:24 -06:00
2020-07-10 17:18:32 -04:00
2020-07-10 17:18:32 -04:00