-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
disable failing h2spec
tests
#254
Conversation
With the latest changes, I've ran
for 10 times in a row and I got this:
|
FYI: for some reason:
that function was not even used anywhere. |
Both of the warnings are known Tempesta FW issues, I added comment tempesta-tech/tempesta#1387 (comment) I think we can delete |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -81,22 +81,23 @@ def copy_files(self): | |||
for (name, content) in self.files: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please add the copyright headers to the file:
__author__ = 'Tempesta Technologies, Inc.'
__copyright__ = 'Copyright (C) 2018-2022 Tempesta Technologies, Inc.'
__license__ = 'GPL2'
h2/test_h2_specs.py
Outdated
@@ -74,7 +74,7 @@ class H2Spec(tester.TempestaTest): | |||
'type' : 'external', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the copyright year in the file and other files, which you ever touch.
h2spec
testsh2spec
tests
With our latest changes to |
@@ -154,5 +155,7 @@ def set_user_agent(self, ua): | |||
self.options.append('-H \'User-Agent: %s\'' % ua) | |||
|
|||
def wait_for_finish(self): | |||
self.proc.join() | |||
# until we explicitly get `self.exit_event` flag set | |||
while self.is_busy(verbose=False): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't we use self.exit_event.wait(some timeout)
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Internally it uses locks and does some extra job, but we're not setting that event flag in different places, hence we don't really need it.
Now that we have
--exclude
flag in ourh2spec
fork, we can gracefullydisable some failing
h2spec
tests.