Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
db83ba40
Commit
db83ba40
authored
May 13, 2019
by
Elad
Committed by
Anton Evangelatov
May 13, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd/swarm: skip export test on windows builds (#19555)
parent
c8a77d86
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
export_test.go
cmd/swarm/export_test.go
+5
-1
kademlia_test.go
swarm/network/simulation/kademlia_test.go
+1
-1
No files found.
cmd/swarm/export_test.go
View file @
db83ba40
...
@@ -123,6 +123,9 @@ func TestCLISwarmExportImport(t *testing.T) {
...
@@ -123,6 +123,9 @@ func TestCLISwarmExportImport(t *testing.T) {
// 5. import the dump
// 5. import the dump
// 6. file should be accessible
// 6. file should be accessible
func
TestExportLegacyToNew
(
t
*
testing
.
T
)
{
func
TestExportLegacyToNew
(
t
*
testing
.
T
)
{
if
runtime
.
GOOS
==
"windows"
{
t
.
Skip
()
// this should be reenabled once the appveyor tests underlying issue is fixed
}
/*
/*
fixture bzz account 0aa159029fa13ffa8fa1c6fff6ebceface99d6a4
fixture bzz account 0aa159029fa13ffa8fa1c6fff6ebceface99d6a4
*/
*/
...
@@ -170,7 +173,7 @@ func TestExportLegacyToNew(t *testing.T) {
...
@@ -170,7 +173,7 @@ func TestExportLegacyToNew(t *testing.T) {
if
stat
.
Size
()
<
90000
{
if
stat
.
Size
()
<
90000
{
t
.
Fatal
(
"export size too small"
)
t
.
Fatal
(
"export size too small"
)
}
}
t
.
Log
(
"removing chunk datadir"
)
log
.
Info
(
"removing chunk datadir"
)
err
=
os
.
RemoveAll
(
path
.
Join
(
actualDataDir
,
"chunks"
))
err
=
os
.
RemoveAll
(
path
.
Join
(
actualDataDir
,
"chunks"
))
if
err
!=
nil
{
if
err
!=
nil
{
t
.
Fatal
(
err
)
t
.
Fatal
(
err
)
...
@@ -276,6 +279,7 @@ func inflateBase64Gzip(t *testing.T, base64File, directory string) {
...
@@ -276,6 +279,7 @@ func inflateBase64Gzip(t *testing.T, base64File, directory string) {
if
_
,
err
:=
io
.
Copy
(
file
,
tarReader
);
err
!=
nil
{
if
_
,
err
:=
io
.
Copy
(
file
,
tarReader
);
err
!=
nil
{
t
.
Fatal
(
err
)
t
.
Fatal
(
err
)
}
}
file
.
Close
()
default
:
default
:
t
.
Fatal
(
"shouldn't happen"
)
t
.
Fatal
(
"shouldn't happen"
)
}
}
...
...
swarm/network/simulation/kademlia_test.go
View file @
db83ba40
...
@@ -42,7 +42,7 @@ import (
...
@@ -42,7 +42,7 @@ import (
* If all kademlias are healthy, the test succeeded, otherwise it failed
* If all kademlias are healthy, the test succeeded, otherwise it failed
*/
*/
func
TestWaitTillHealthy
(
t
*
testing
.
T
)
{
func
TestWaitTillHealthy
(
t
*
testing
.
T
)
{
t
.
Skip
(
"this test is flaky; disabling till underlying problem is solved"
)
testNodesNum
:=
10
testNodesNum
:=
10
// create the first simulation
// create the first simulation
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment