Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FAIL: testDBStatus (tests.APSW) Verify db status function Anaconda python 3.5.2 #221

Closed
ebrown opened this issue Aug 31, 2016 · 2 comments
Closed

Comments

@ebrown
Copy link

ebrown commented Aug 31, 2016

C:\Users\junk\git-repos\ext\apsw>git log -l 10
commit 09efaf5
Author: Roger Binns rogerb@rogerbinns.com
Date: Tue Aug 23 12:54:10 2016 -0700

Version bump

            Python C:\Users\junk\AppData\Local\Continuum\Anaconda3\python.exe sys.version_info(major=3, minor=5, micro=2,

releaselevel='final', serial=0)
Testing with APSW file C:\Users\junk\AppData\Local\Continuum\Anaconda3\lib\site-packages\apsw-3.14.1.post1-py3.5-win-amd64.eg
g\apsw.cp35-win_amd64.pyd
APSW version 3.14.1-r1
SQLite lib version 3.14.1
SQLite headers version 3014001
Using amalgamation True
Not doing LoadExtension test. You need to compile the extension first
gcc -fPIC -shared -o testextension.sqlext -I. -Isqlite3 src/testextension.c

.....................F..............................................................

FAIL: testDBStatus (tests.APSW)

Verify db status function

Traceback (most recent call last):
File "C:\Users\junk\git-repos\ext\apsw\tests.py", line 3875, in testDBStatus
self.assertTrue(res[0]<=res[1])
AssertionError: False is not true


Ran 84 tests in 233.798s

@rogerbinns
Copy link
Owner

3.14 hasn't been released yet. This is one of the issues already being worked on for the release.

The test that fails is due to changed behaviour in SQLite. You can get various statistics from SQLite using that API. It returns both the current value and the highwater mark. The test double checks that the current value is less than or equal to the highwater mark. As you see that is sometimes no longer the case.

@rogerbinns
Copy link
Owner

3.14.1-r1 has now been released, and includes an update to the tests so this no longer fails

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants