Skip to content

Commit

Permalink
Minor fix to use port as specified in the arguments.
Browse files Browse the repository at this point in the history
This could have caused issues when using the keywords with a non-default
port.
  • Loading branch information
randomsync committed May 11, 2015
1 parent 6ee45a7 commit fdb6f46
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/keywords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
| | ... | ${client.id}=${client.id} | ${topic}=${topic}
| | ... | ${message}=${EMPTY} | ${qos}=0
| | ... | ${retention}=${false}
| | Connect | ${broker.uri} | ${broker.port} | ${client.id}
| | Connect | ${broker.uri} | ${port} | ${client.id}
| | Publish | ${topic} | ${message} | ${qos} | ${retention}
| | [Teardown] | Disconnect

Expand All @@ -25,7 +25,7 @@
| | ... | ${client.id}=${client.id} | ${topic}=${topic}
| | ... | ${message}=${EMPTY} | ${qos}=1
| | ... | ${timeout}=1s
| | Connect | ${broker.uri} | ${broker.port} | ${client.id} | ${false}
| | Connect | ${broker.uri} | ${port} | ${client.id} | ${false}
| | Subscribe and Validate
| | ... | ${topic} | ${qos} | ${message} | ${timeout}
| | [Teardown] | Disconnect
Expand All @@ -35,7 +35,7 @@
| | ... | ${client.id}=${client.id} | ${topic}=${topic}
| | ... | ${qos}=1 | ${timeout}=1s
| | ... | ${limit}=1
| | Connect | ${broker.uri} | ${broker.port} | ${client.id} | ${false}
| | Connect | ${broker.uri} | ${port} | ${client.id} | ${false}
| | @{messages} | Subscribe | ${topic} | ${qos} | ${timeout} | ${limit}
| | [Teardown] | Disconnect
| | [Return] | @{messages}
Expand All @@ -45,7 +45,7 @@
| | ... | ${client.id}=${client.id} | ${topic}=${topic}
| | ... | ${qos}=1 | ${timeout}=1s
| | ... | ${limit}=1
| | Connect | ${broker.uri} | ${broker.port} | ${client.id} | ${false}
| | Connect | ${broker.uri} | ${port} | ${client.id} | ${false}
| | @{messages} | Subscribe | ${topic} | ${qos} | ${timeout} | ${limit}
| | Unsubscribe | ${topic}
| | [Teardown] | Disconnect
Expand Down

0 comments on commit fdb6f46

Please sign in to comment.