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

Commit

Permalink
Ci expect fix (#90)
Browse files Browse the repository at this point in the history
* ci expect fix: increase expect timeout

* fix address test
  • Loading branch information
metachris authored and erikzhang committed Jan 9, 2018
1 parent 9f233b0 commit 3b0f5f9
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions ci/test-neo-cli.expect
Expand Up @@ -2,7 +2,7 @@
#
# This script uses expect to test neo-cli
#
set timeout 2
set timeout 10

# Start neo-cli
spawn dotnet neo-cli.dll --rpc
Expand Down Expand Up @@ -30,25 +30,19 @@ expect {
timeout { exit 1 }
}

# Wallet creation requires a higher timeout
set timeout 10

expect {
"address:" { }
"error" { exit 2 }
timeout { exit 1 }
}

# Set timeout back to default
set timeout 2

#
# Test 'list address'
#
send "list address\n"

expect {
-re "A.*" { }
"neo> " { }
"error" { exit 2 }
timeout { exit 1 }
}
Expand Down

0 comments on commit 3b0f5f9

Please sign in to comment.