Problem/Motivation

#2770921: Feb 21st: Convert chunk of WTB to BTB by just moving classes, changing use statements adding traits has transformed a lot of WTB tests to BTB tests, which caused moving the tests to different location / namespace and therefore the LockFunctionalTest is not anymore found in RedisLockFunctionalTest.

Proposed resolution

Use the new namespace of the LockFunctionalTest.

Remaining tasks

User interface changes

API changes

Data model changes

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hchonov created an issue. See original summary.

hchonov’s picture

Status: Active » Needs review
FileSize
507 bytes
Berdir’s picture

Status: Needs review » Needs work

Thanks but our test needs to move as well then. I suggest you make a MR against https://github.com/md-systems/redis/, that is able to run the tests.

hchonov’s picture

Status: Needs work » Needs review
FileSize
727 bytes
hchonov’s picture

https://github.com/md-systems/redis/pull/23

P.S. this is the correct PR.

hchonov’s picture

The problem with this issue is not that I cannot run the redis tests, it is that I cannot run my custom phpunit tests because of the error thrown because of redis.

Berdir’s picture

FileSize
6.47 KB

The last commit should now hopefully pass, then I'll commit this.

Berdir’s picture

Title: Class 'Drupal\system\Tests\Lock\LockFunctionalTest' not found in RedisLockFunctionalTest » Update test for 8.3.x and convert to PHPUnit
FileSize
9.76 KB
4.43 KB

Now it passes :)

  • Berdir committed 00d5173 on 8.x-1.x
    Issue #2856241 by Berdir, hchonov: Update test for 8.3.x and convert to...
Berdir’s picture

Status: Needs review » Fixed

Committed. Downside is that it will now fail with 8.2.x, but I'll wait with a new release until 8.3.x is stable.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.