Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Investigate infrataster for testing http responses after setup #109

Open
patcon opened this issue Jul 7, 2015 · 5 comments
Open

Investigate infrataster for testing http responses after setup #109

patcon opened this issue Jul 7, 2015 · 5 comments

Comments

@patcon
Copy link
Collaborator

patcon commented Jul 7, 2015

Not sure whether it's right for us, but with looking into, since serverspec just lets us check whether ports are listening, but no concise way to check responses

@linc01n
Copy link
Collaborator

linc01n commented Jul 7, 2015

Would it take too long for the test? you know java takes forever to start.

@patcon
Copy link
Collaborator Author

patcon commented Jul 7, 2015

Probably right. I think it takes like 3 minutes to start in my VM's... but I suppose just testing for that loading screen might be good enough to know things are working out. But maybe that's not worth adding a dependency over... heh

@bflad
Copy link
Owner

bflad commented Jul 12, 2015

It's an interesting idea. When I was testing Stash via just Vagrant, I always went through the whole initial setup flow for each OS to ensure it was actually setting up everything correctly so that Stash was completely usable. However from my observations in the past, I'd say you're probably okay with just testing the port since I'm sure the initial workflow will change over time as the product changes and I'm sure there's much more important problems to solve.

@bflad
Copy link
Owner

bflad commented Jul 12, 2015

Now, that said, we have issues testing today like #99 and the LWRPs in general. Personally I'd feel more comfortable changing the LWRPs with tests added when there's a fully setup and running Stash instance for which we can send API requests.

@ramonskie
Copy link
Contributor

infratester does not have any test-kitchen intergration
so when you set this up you need to have static ips

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants