Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KDE PIM Runtime
Commits
a71cdee9
Commit
a71cdee9
authored
Aug 12, 2021
by
Friedrich W. H. Kossebau
Browse files
Pop3Test: handle test failing before server thread would get created
GIT_SILENT
parent
3e54f72b
Pipeline
#78083
skipped
Changes
1
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
resources/pop3/autotests/pop3test.cpp
View file @
a71cdee9
...
...
@@ -157,9 +157,12 @@ void Pop3Test::initTestCase()
void
Pop3Test
::
cleanupTestCase
()
{
mFakeServerThread
->
quit
();
if
(
!
mFakeServerThread
->
wait
(
10000
))
{
qWarning
()
<<
"The fake server thread has not yet finished, what is wrong!?"
;
// test might have failed before thread got created
if
(
mFakeServerThread
)
{
mFakeServerThread
->
quit
();
if
(
!
mFakeServerThread
->
wait
(
10000
))
{
qWarning
()
<<
"The fake server thread has not yet finished, what is wrong!?"
;
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment