Skip to content
This repository has been archived by the owner on Apr 29, 2020. It is now read-only.

Add testing support for ipfs-cluster #15

Merged
merged 3 commits into from
Mar 28, 2017
Merged

Add testing support for ipfs-cluster #15

merged 3 commits into from
Mar 28, 2017

Conversation

hsanjuan
Copy link
Member

@hsanjuan hsanjuan commented Mar 7, 2017

This is the minimal necessary to allow me to write and run some tests for cluster

  • Add ipfs-cluster setup scripts and a test
  • Features and fixes to kubernetes-ipfs
    • Support custom selector (rather than hardcode go-ipfs-stress)
    • Fix panics when outputs does not have as many lines as expected
    • Fix env being provided unquoted and thus injecting bash commands
    • Fix env matching with ShouldBeEqual where match could happen if the variable name is just part of the output

I have run some of the original ipfs tests and they look good (meaning I haven't broken stuff with the changes).

* Support custom selector (rather than hardcode go-ipfs-stress)
* Fix panics when outputs does not have as many lines as expected
* Fix env being provided unquoted and thus injecting bash commands
* Fix env matching with ShouldBeEqual where match could happen
  if the variable name is just part of the output
@FrankPetrilli
Copy link
Collaborator

I'm comfortable with all of these changes, any thoughts from your end @victorbjelkholm?

@FrankPetrilli FrankPetrilli merged commit 543b919 into master Mar 28, 2017
@hsanjuan hsanjuan deleted the ipfs-cluster branch April 28, 2017 14:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants