← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1292170] [NEW] Fix swift functional test "test_create_store"

 

Public bug reported:

Running this  test:

GLANCE_TEST_SWIFT_CONF=/etc/glance/glance-api.conf ./run_tests.sh
glance.tests.functional.store.test_swift.TestSwiftStore.test_create_store

gives this failure

======================================================================
FAIL: glance.tests.functional.store.test_swift.TestSwiftStore.test_create_store
----------------------------------------------------------------------
Traceback (most recent call last):
_StringException: Traceback (most recent call last):
  File "glance/tests/functional/store/__init__.py", line 75, in test_create_store
    self.assertEqual(count, 7)
  File "/home/ubuntu/git/glance/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 321, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/home/ubuntu/git/glance/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 406, in assertThat
    raise mismatch_error
MismatchError: 6 != 7


Ran 2 tests in 7.188s

** Affects: glance
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1292170

Title:
  Fix swift functional test "test_create_store"

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  Running this  test:

  GLANCE_TEST_SWIFT_CONF=/etc/glance/glance-api.conf ./run_tests.sh
  glance.tests.functional.store.test_swift.TestSwiftStore.test_create_store

  gives this failure

  ======================================================================
  FAIL: glance.tests.functional.store.test_swift.TestSwiftStore.test_create_store
  ----------------------------------------------------------------------
  Traceback (most recent call last):
  _StringException: Traceback (most recent call last):
    File "glance/tests/functional/store/__init__.py", line 75, in test_create_store
      self.assertEqual(count, 7)
    File "/home/ubuntu/git/glance/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 321, in assertEqual
      self.assertThat(observed, matcher, message)
    File "/home/ubuntu/git/glance/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 406, in assertThat
      raise mismatch_error
  MismatchError: 6 != 7

  
  Ran 2 tests in 7.188s

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1292170/+subscriptions


Follow ups

References