bloodhound-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Ollos <ryan.ol...@wandisco.com>
Subject Re: The state of trunk
Date Fri, 20 Sep 2013 05:41:07 GMT
On Thu, Sep 19, 2013 at 6:43 PM, Olemis Lang <olemis@gmail.com> wrote:

> I ran both (unit & functional) test suites and this is what I got :
>
> http://goo.gl/enEnUz
> http://goo.gl/sVtESY
>
> I'd like to upgrade some instances but it seems that I'd rather lose
> the RSS feed (... which I frequently use ..) :'(
>
> JFTR , test results are quite different due to issues similar to #662
>
> http://ci.apache.org/builders/bh-unit-tests/builds/176
>
> --
> Regards,
>
> Olemis - @olemislc
>
> Apacheā„¢ Bloodhound contributor
> http://issues.apache.org/bloodhound
> http://blood-hound.net
>
> Blog ES: http://simelo-es.blogspot.com/
> Blog EN: http://simelo-en.blogspot.com/
>
> Featured article:
> Popularidad de Python, septiembre 2013 -
> http://goo.gl/fb/tr0XB
>

After enabling AuthzSecurityTestCase in r1524639, I'm seeing some errors:

----
$ PYTHONPATH=. python -m bhsearch.tests.security
..FFFFFFF...........
======================================================================
FAIL: test_granular_permissions (__main__.AuthzSecurityTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/user/Workspace/bh598/bloodhound-trunk.svn/bloodhound_search/bhsearch/tests/security.py",
line 303, in test_granular_permissions
    self.assertEqual(1, results.hits)
AssertionError: 1 != 2

======================================================================
FAIL: test_includes_authenticated_rows_for_registered_users
(__main__.AuthzSecurityTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/user/Workspace/bh598/bloodhound-trunk.svn/bloodhound_search/bhsearch/tests/security.py",
line 348, in test_includes_authenticated_rows_for_registered_users
    self.assertEqual(1, results.hits)
AssertionError: 1 != 0

======================================================================
FAIL: test_includes_named_rows_for_anonymous_users
(__main__.AuthzSecurityTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/user/Workspace/bh598/bloodhound-trunk.svn/bloodhound_search/bhsearch/tests/security.py",
line 371, in test_includes_named_rows_for_anonymous_users
    self.assertEqual(1, results.hits)
AssertionError: 1 != 0

======================================================================
FAIL: test_includes_named_rows_for_registered_users
(__main__.AuthzSecurityTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/user/Workspace/bh598/bloodhound-trunk.svn/bloodhound_search/bhsearch/tests/security.py",
line 359, in test_includes_named_rows_for_registered_users
    self.assertEqual(1, results.hits)
AssertionError: 1 != 0

======================================================================
FAIL: test_includes_wildcard_rows_for_anonymous_users
(__main__.AuthzSecurityTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/user/Workspace/bh598/bloodhound-trunk.svn/bloodhound_search/bhsearch/tests/security.py",
line 337, in test_includes_wildcard_rows_for_anonymous_users
    self.assertEqual(1, results.hits)
AssertionError: 1 != 0

======================================================================
FAIL: test_includes_wildcard_rows_for_registered_users
(__main__.AuthzSecurityTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/user/Workspace/bh598/bloodhound-trunk.svn/bloodhound_search/bhsearch/tests/security.py",
line 325, in test_includes_wildcard_rows_for_registered_users
    self.assertEqual(1, results.hits)
AssertionError: 1 != 0

======================================================================
FAIL: test_understands_groups (__main__.AuthzSecurityTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/user/Workspace/bh598/bloodhound-trunk.svn/bloodhound_search/bhsearch/tests/security.py",
line 384, in test_understands_groups
    self.assertEqual(1, results.hits)
AssertionError: 1 != 0

----------------------------------------------------------------------
Ran 20 tests in 3.116s

FAILED (failures=7)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message