Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RadioObservatory
LOFAR
Commits
010b18e0
Commit
010b18e0
authored
9 years ago
by
Jan David Mol
Browse files
Options
Downloads
Patches
Plain Diff
Task #8887: Fixed pattern matching in t_messagebus to support more qpid installations
parent
4f2baf3d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
LCS/Messaging/python/messaging/test/t_messagebus.py
+2
-2
2 additions, 2 deletions
LCS/Messaging/python/messaging/test/t_messagebus.py
with
2 additions
and
2 deletions
LCS/Messaging/python/messaging/test/t_messagebus.py
+
2
−
2
View file @
010b18e0
...
...
@@ -51,7 +51,7 @@ class FromBusInitFailed(unittest.TestCase):
Connecting to non-existent broker address must raise MessageBusError
"""
regexp
=
re
.
escape
(
self
.
error
)
regexp
+=
'
.*
'
+
'
No address associated with hostname
'
regexp
+=
'
.*
'
+
'
(
No address associated with hostname
|Name or service not known)
'
with
self
.
assertRaisesRegexp
(
MessageBusError
,
regexp
):
with
FromBus
(
QUEUE
,
broker
=
"
foo.bar
"
,
broker_options
=
{
'
reconnect
'
:
False
}):
pass
...
...
@@ -162,7 +162,7 @@ class ToBusInitFailed(unittest.TestCase):
Connecting to non-existent broker address must raise MessageBusError
"""
regexp
=
re
.
escape
(
self
.
error
)
regexp
+=
'
.*
'
+
'
No address associated with hostname
'
regexp
+=
'
.*
'
+
'
(
No address associated with hostname
|Name or service not known)
'
with
self
.
assertRaisesRegexp
(
MessageBusError
,
regexp
):
with
ToBus
(
QUEUE
,
broker
=
"
foo.bar
"
,
broker_options
=
{
'
reconnect
'
:
False
}):
pass
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment