aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Evangelatov <anton.evangelatov@gmail.com>2018-10-04 15:18:03 +0800
committerViktor TrĂ³n <viktor.tron@gmail.com>2018-10-04 15:18:03 +0800
commit82a1c771ef43c970ca1d77269e871de444c11730 (patch)
tree9d6be4f56d6c701a190041db2d71dee5ac00af9b
parent9d06b2c5f3e97e49466da3d5c7cfba9206a2052c (diff)
downloaddexon-82a1c771ef43c970ca1d77269e871de444c11730.tar
dexon-82a1c771ef43c970ca1d77269e871de444c11730.tar.gz
dexon-82a1c771ef43c970ca1d77269e871de444c11730.tar.bz2
dexon-82a1c771ef43c970ca1d77269e871de444c11730.tar.lz
dexon-82a1c771ef43c970ca1d77269e871de444c11730.tar.xz
dexon-82a1c771ef43c970ca1d77269e871de444c11730.tar.zst
dexon-82a1c771ef43c970ca1d77269e871de444c11730.zip
cmd/swarm: disable tests under Windows until they are fixed (#17827)
-rw-r--r--cmd/swarm/manifest_test.go17
1 files changed, 17 insertions, 0 deletions
diff --git a/cmd/swarm/manifest_test.go b/cmd/swarm/manifest_test.go
index 08fe0b2eb..9c7808dfa 100644
--- a/cmd/swarm/manifest_test.go
+++ b/cmd/swarm/manifest_test.go
@@ -21,6 +21,7 @@ import (
"io/ioutil"
"os"
"path/filepath"
+ "runtime"
"testing"
"github.com/ethereum/go-ethereum/swarm/api"
@@ -30,12 +31,20 @@ import (
// TestManifestChange tests manifest add, update and remove
// cli commands without encryption.
func TestManifestChange(t *testing.T) {
+ if runtime.GOOS == "windows" {
+ t.Skip()
+ }
+
testManifestChange(t, false)
}
// TestManifestChange tests manifest add, update and remove
// cli commands with encryption enabled.
func TestManifestChangeEncrypted(t *testing.T) {
+ if runtime.GOOS == "windows" {
+ t.Skip()
+ }
+
testManifestChange(t, true)
}
@@ -400,6 +409,10 @@ func testManifestChange(t *testing.T, encrypt bool) {
// TestNestedDefaultEntryUpdate tests if the default entry is updated
// if the file in nested manifest used for it is also updated.
func TestNestedDefaultEntryUpdate(t *testing.T) {
+ if runtime.GOOS == "windows" {
+ t.Skip()
+ }
+
testNestedDefaultEntryUpdate(t, false)
}
@@ -407,6 +420,10 @@ func TestNestedDefaultEntryUpdate(t *testing.T) {
// of encrypted upload is updated if the file in nested manifest
// used for it is also updated.
func TestNestedDefaultEntryUpdateEncrypted(t *testing.T) {
+ if runtime.GOOS == "windows" {
+ t.Skip()
+ }
+
testNestedDefaultEntryUpdate(t, true)
}