From 72dc6778196dc867203c83f8f9b6396155dcda45 Mon Sep 17 00:00:00 2001 From: Michal Murin Date: Wed, 9 Feb 2022 11:57:58 +0100 Subject: tunnel: fix BadConfigExceptionTest Fix the test by changing the DNS to a string with an invalid char in the `invalid-value.conf` test configuration file. Signed-off-by: Michal Murin Signed-off-by: Jason A. Donenfeld --- tunnel/src/test/resources/invalid-value.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tunnel/src/test/resources/invalid-value.conf b/tunnel/src/test/resources/invalid-value.conf index 2889111e..6a1e3b62 100644 --- a/tunnel/src/test/resources/invalid-value.conf +++ b/tunnel/src/test/resources/invalid-value.conf @@ -1,6 +1,6 @@ [Interface] Address = 192.0.2.2/32,2001:db8:ffff:ffff:ffff:ffff:ffff:ffff/128 -DNS = 192.0.2.0,yes +DNS = 192.0.2.0,invalid_value PrivateKey = TFlmmEUC7V7VtiDYLKsbP5rySTKLIZq1yn8lMqK83wo= [Peer] AllowedIPs = 0.0.0.0/0, ::0/0 -- cgit v1.2.3