Skip to content

shell_exec invocation issue via docker in WSL2 #40

Description

@tyrsson

Package Version

3.0.x

Php Version

8.3

Database Engine

N/A

Basic Information

I'm getting a failing test around the testing for a tcp connection when running integration test.

After doing some reading I found it could be due to several issues. I'm not 100% certain of causation at this point. I did however find that at certain times lsof may hang which causes a 15 second delay.

@settermjd I'm wondering if it would be more reliable to just install net-tools during the setup. From what I could find its only around 5 MB's.

I'm also unsure why this would be an issue now and not before the changes were made to change the container to provide Mac support. My earlier testing for the adapter package did not result in this issue..

Please advise.

Steps to Reproduce

  1. docker compose up -d
  2. run the integration test (on windows in WSL2/Ubuntu)

Expected Behavior

Test to run without issue.

Actual behavior?

/test/integration/Adapter/Driver/Pdo/AbstractAdapterTestCase.php line#33

This assertion fails:

self::assertTrue($this->isConnectedTcp());

Additional Info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingqaImprovements in quality assurance of the project

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions