Fix hostname issue with nodepool integration job

Change-Id: Id1ca2e156d66286111fe1dc774da666d3e80f9a2
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
diff --git a/tests/nodepool/test_nodepool_integration.py b/tests/nodepool/test_nodepool_integration.py
index dd0050f..2c9a9b3 100644
--- a/tests/nodepool/test_nodepool_integration.py
+++ b/tests/nodepool/test_nodepool_integration.py
@@ -12,7 +12,7 @@
 # License for the specific language governing permissions and limitations
 # under the License.
 
-
+import socket
 import time
 from unittest import skip
 
@@ -32,6 +32,7 @@
 
         self.zk = zuul.zk.ZooKeeper()
         self.zk.connect('localhost:2181')
+        self.hostname = socket.gethostname()
 
         self.provisioned_requests = []
         # This class implements the scheduler methods zuul.nodepool