Skip to content

Commit

Permalink
gui: Support specifying multiple hostnames when running a new test
Browse files Browse the repository at this point in the history
Add support for specifying multiple hostnames for new tests, using , and ;
as separators. Fixes #216.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
  • Loading branch information
tohojo committed Dec 8, 2020
1 parent 6d7a870 commit bfea1ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion flent/gui.py
Expand Up @@ -965,7 +965,7 @@ def run_test(self):
host = str(host)
path = str(path)

self.settings.HOSTS = [host]
self.settings.HOSTS = util.token_split(host)
self.settings.NAME = test
self.settings.TITLE = str(self.testTitle.text())
self.settings.LENGTH = self.testLength.value()
Expand Down
4 changes: 2 additions & 2 deletions flent/ui/newtestdialog.ui
Expand Up @@ -81,7 +81,7 @@
<item row="2" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>&amp;Destination host</string>
<string>&amp;Destination hosts</string>
</property>
<property name="buddy">
<cstring>hostName</cstring>
Expand All @@ -91,7 +91,7 @@
<item row="2" column="1">
<widget class="QLineEdit" name="hostName">
<property name="toolTip">
<string>Enter host name or IP address of test destination</string>
<string>Enter host name(s) or IP address(es) of test destination(s), separate with , or ;</string>
</property>
</widget>
</item>
Expand Down

0 comments on commit bfea1ce

Please sign in to comment.