Functional test fail

Bug #1518158 reported by Md Nadeem
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python client library for Zaqar
Invalid
Undecided
Md Nadeem

Bug Description

Functional test Test.test_pool_list gets fail if a pool already present in the environment.

Steps to reproduce:

1. Run pool list command to check if a pool already present in the env, if no pool already present then create one.

2. now run functional test, you will get the exception

Details:
======================================================================
FAIL: tests.functional.queues.v1.test_pool.QueuesV1_1PoolHttpFunctionalTest.test_pool_list
----------------------------------------------------------------------
_StringException: Empty attachments:
  pythonlogging:'zaqar'
  stderr

Traceback (most recent call last):
  File "/opt/stack/python-zaqarclient/zaqarclient/tests/queues/pool.py", line 169, in test_pool_list
    self.assertEqual(1, len(list(pools)))
  File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 350, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 435, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: 1 != 2

Changed in python-zaqarclient:
assignee: nobody → MD NADEEM (mail2nadeem92)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-zaqarclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/247897

Changed in python-zaqarclient:
status: New → In Progress
description: updated
Changed in python-zaqarclient:
status: In Progress → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-zaqarclient (master)

Change abandoned by MD NADEEM (<email address hidden>) on branch: master
Review: https://review.openstack.org/247897
Reason: Invalid Bug

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.