Skip to content

Commit

Permalink
Explains why TestCLISwarmFs is skipped (ethereum#132)
Browse files Browse the repository at this point in the history
Because Celo's CI env is different than Ethereum's, we don't have
FUSE configured, so the test will always fail.
  • Loading branch information
trianglesphere authored Mar 15, 2019
1 parent b291394 commit 2f4848b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cmd/swarm/fs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ func TestCLISwarmFsDefaultIPCPath(t *testing.T) {
// and without any log messages in the log:
// /Library/Filesystems/osxfuse.fs/Contents/Resources/load_osxfuse.
// This is the reason for this file not being built on darwin architecture.
//
// If `FUSE` is not installed and configured such that `fusermount` exists, this test will fail.
// Because Celo uses circle-ci as our CI environment rather thant travis (the CI environment
// that ethereum uses), `FUSE` is not configured in the testing environment.
// As Celo does not use the Swarm Protocol, we consider it acceptable that this test does not
// currently work. To enable this test, add fuse support to `.circleci/config.yml`.
func TestCLISwarmFs(t *testing.T) {
_, err := exec.LookPath("fusermount")
if err != nil {
Expand Down

0 comments on commit 2f4848b

Please sign in to comment.