Comments (6)
@harshraj22 i've been experiencing the same issue with my tests on one of my projects which I'm currently investigating. I think I may need to add a short delay between the docker-compose up
command finishing and the tests executing as the fact we are getting no output in the error leads me to think that we're executing the tests before the containers are fully ready. Will ping you when sorted.
from docker-compose-action.
Please also consider the cases when docker-compose file spins up lots of microservices and the whole system takes 5-10 minutes to spin up. Hardcoding a time value like 1-2 minute of delay might not be the best workaround
from docker-compose-action.
@harshraj22 do you have an example docker-compose.yml
yaml file which does load lost of services? The one I'm working with does spin up 5 containers anyway. What I may do is specify a default but add an option to override that.
from docker-compose-action.
@adambirds https://github.com/harshraj22/Dis-Sim
from docker-compose-action.
@harshraj22 could you test with a simple file by poullinmg the action from adambirds/docker-compose-action@add-timeout
and let me know if the simple one works. Thanks
from docker-compose-action.
Fixed by #4. This now works by a simple file, will be in the next release.
from docker-compose-action.
Related Issues (7)
- Run Integration/ Load test HOT 1
- When testing locally with act tool getting error HOT 5
- Sporadic failure with run command - not deterministic HOT 2
- Update compose & run v2 of compose HOT 2
- Failure with no output if test container does not have a running service HOT 1
- Make error annotation configurable
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-compose-action.