public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/
Date: Fri,  9 Oct 2020 07:25:25 +0000 (UTC)	[thread overview]
Message-ID: <1602228314.8b91c42f9c41aa14d2510d548f8e1d28f66cd3b4.juippis@gentoo> (raw)

commit:     8b91c42f9c41aa14d2510d548f8e1d28f66cd3b4
Author:     Matt Smith <matt <AT> offtopica <DOT> uk>
AuthorDate: Fri Sep  4 12:03:50 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Oct  9 07:25:14 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b91c42f

net-proxy/mitmproxy: Disable flaky tests

Issue: https://github.com/mitmproxy/mitmproxy/issues/4136
Closes: https://bugs.gentoo.org/740336
Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Matt Smith <matt <AT> offtopica.uk>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-proxy/mitmproxy/mitmproxy-5.2.ebuild | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/net-proxy/mitmproxy/mitmproxy-5.2.ebuild b/net-proxy/mitmproxy/mitmproxy-5.2.ebuild
index d5ba12b4c7c..3a6b3954f6d 100644
--- a/net-proxy/mitmproxy/mitmproxy-5.2.ebuild
+++ b/net-proxy/mitmproxy/mitmproxy-5.2.ebuild
@@ -68,8 +68,24 @@ python_prepare_all() {
 	# remove failing test
 	sed -i 's/test_get_version/_&/g' test/mitmproxy/test_version.py || die
 
+	# https://github.com/mitmproxy/mitmproxy/issues/4136
+	# https://bugs.gentoo.org/740336
+	rm test/mitmproxy/addons/test_termlog.py || die
+
 	# requires asynctest
 	rm test/mitmproxy/addons/test_readfile.py || die
 
+	# Passes with OpenSSL 1.1.1g, fails with OpenSSL 1.1.1h
+	# https://github.com/gentoo/gentoo/pull/17411#discussion_r497270699
+	sed \
+		-e 's/test_mode_none_should_pass_without_sni/_&/g' \
+		-e 's/test_mode_strict_w_pemfile_should_pass/_&/g' \
+		-e 's/test_mode_strict_w_confdir_should_pass/_&/g' \
+		-i test/mitmproxy/net/test_tcp.py || die
+	sed \
+		-e 's/test_verification_w_confdir/_&/g' \
+		-e 's/test_verification_w_pemfile/_&/g' \
+		-i test/mitmproxy/proxy/test_server.py || die
+
 	distutils-r1_python_prepare_all
 }


             reply	other threads:[~2020-10-09  7:25 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-09  7:25 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-07  2:07 [gentoo-commits] repo/gentoo:master commit in: net-proxy/mitmproxy/ Michał Górny
2025-04-30  5:36 Michał Górny
2025-04-20 11:43 Michał Górny
2025-01-25 11:01 Arthur Zamarin
2025-01-04 16:17 Sam James
2024-12-31 16:01 Michał Górny
2024-12-31 16:01 Michał Górny
2023-12-07 16:22 Matthew Smith
2023-03-06 16:23 Arthur Zamarin
2023-02-21 10:00 Michał Górny
2023-02-21  9:30 Sam James
2022-12-05 20:17 Arthur Zamarin
2022-11-18  8:49 Arthur Zamarin
2022-11-02 12:31 Matthew Smith
2022-09-09  9:48 Matthew Smith
2022-08-17  7:06 Agostino Sarubbo
2022-07-10  8:40 Matthew Smith
2022-07-10  8:40 Matthew Smith
2022-07-10  6:17 Agostino Sarubbo
2022-05-21  8:17 Matthew Smith
2022-05-14 10:05 Matthew Smith
2022-04-28 17:37 Matthew Smith
2022-02-13 19:06 Matthew Smith
2022-01-21  7:08 Joonas Niilola
2021-12-04  9:45 Joonas Niilola
2021-10-31  3:00 Sam James
2021-09-17 18:19 John Helmert III
2021-09-17  9:18 Agostino Sarubbo
2021-09-16 20:23 Ionen Wolkens
2021-09-16 18:44 Ionen Wolkens
2021-09-11  8:18 Joonas Niilola
2021-08-19  1:25 Agostino Sarubbo
2021-08-07  9:08 Ionen Wolkens
2021-07-19 10:09 Ionen Wolkens
2021-05-02 12:37 Mikle Kolyada
2021-03-01  9:20 Agostino Sarubbo
2021-01-24  0:34 Sam James
2021-01-24  0:34 Sam James
2021-01-22 23:01 Sam James
2020-12-17 14:12 Joonas Niilola
2020-11-08 12:02 Sam James
2020-11-05 12:32 Joonas Niilola
2020-10-09  7:25 Joonas Niilola
2020-10-09  7:25 Joonas Niilola
2020-09-02 22:43 Sam James
2020-09-02 22:43 Sam James
2020-08-02  4:08 Aaron Bauman
2020-06-20 17:42 Aaron Bauman
2020-06-20 17:42 Aaron Bauman
2020-06-04  7:56 Joonas Niilola
2019-11-17 22:32 Tim Harder
2019-11-17 22:32 Tim Harder
2019-01-31  9:17 Tim Harder
2019-01-19  3:22 Thomas Deutschmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1602228314.8b91c42f9c41aa14d2510d548f8e1d28f66cd3b4.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox