I just went to install current HEAD on Postgres to run simpletests for comparison purposes with the database layer ng patch, and thereby realized that simpletest is apparently quite completely broken on Postgres and HEAD.

When I go to run all tests, the first six tests all pass with zero fails but 10 exceptions for each test.

After test 6 (Categorize feed item functionality) the batch simply stops without an error message. The progress bar just stays as it is.
When I then open another page, I get several error messages:
- unexisting relations simpletest_test_id_test_id_seq and simpletest838615watchdog
- types »smallint_unsigned« and »smallint_unsigned« already exist
- currval of sequence »simpletest838615vocabulary_vid_seq« not defined in this session
and some more.

When I try to run selected tests (after having cleared the environment) the batch seems to stop right at "SimpleTest is initializing... " without any progress at all. On returning to another page I get, again, the already mentioned error message that simpletest_test_id_test_id_seq doesn't exist.

Comments

Anonymous’s picture

Status: Active » Closed (duplicate)

I don't know that this needs to be separate from #225450: Database Layer: The Next Generation, so marking it as duplicate. The SVN version will eventually become a patch to HEAD.

damien tournoud’s picture

Status: Closed (duplicate) » Active

Well, this is obviously not a duplicate. At most it could be postponed, but we cannot do that because Simpletest needs to work to validate #225450 on PostgreSQL, so reopening.

Anonymous’s picture

Status: Active » Closed (duplicate)

My reason for marking this as duplicate of #225450: Database Layer: The Next Generation is because the Postgres Simpletest tests are being resolved within it. That is what Crell has been working on besides the implementation parts. There is no point in working the issue in more than one place.