Page MenuHomePhabricator

[electrum] use the docker-compose command for functional tests
ClosedPublic

Authored by PiRK on Jul 19 2023, 19:06.

Details

Summary

As of pytest-docker 2.0.0, docker-compose is no longer the default command. The default docker compose command now requires a newer version of docker than what is packaged for debian, so add a docker_compose_command pytest fixture to switch back to the previous behavior.

Test Plan

@bot electrum-functional-tests

Diff Detail

Repository
rABC Bitcoin ABC
Branch
docker-compose
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 24555
Build 48707: Build Diffelectrum-tests
Build 48706: arc lint + arc unit

Event Timeline

PiRK requested review of this revision.Jul 19 2023, 19:06

@bot electrum-functional-tests

@bot electrum-functional-tests

@bot electrum-functional-tests

remove the debugging print that did not work anyway. We can see in the build log whick version of pytest-docker it is using (depends on whether the build agent installed it today or yesterday):

  • new version: plugins: teamcity-messages-1.28, docker-2.0.0
  • previous version: plugins: docker-1.0.1, teamcity-messages-1.28

@bot electrum-functional-tests

@bot electrum-functional-tests

@bot electrum-functional-tests

@bot electrum-functional-tests

@bot electrum-functional-tests

@bot electrum-functional-tests

PiRK retitled this revision from [electrum] use the docker-compose for functional tests to [electrum] use the docker-compose command for functional tests.Jul 19 2023, 19:20
This revision is now accepted and ready to land.Jul 20 2023, 08:19