Skip test requiring network url for statuschain

This commit is contained in:
Alexander Ewetumo 2017-10-26 13:33:42 +01:00
parent 41d883a564
commit 681a2d2d83
4 changed files with 26 additions and 1 deletions

View File

@ -42,6 +42,11 @@ func (s *AccountsTestSuite) TestRPCEthAccountsWithUpstream() {
// FIXME(tiabc): Stop skipping after https://github.com/status-im/status-go/issues/424
s.T().Skip()
if GetNetworkID() == params.StatusChainNetworkID {
s.T().Skip()
return
}
addr, err := GetRemoteURLForNetworkID()
s.NoError(err)
s.StartTestBackend(e2e.WithUpstream(addr))

View File

@ -274,7 +274,12 @@ func (s *ManagerTestSuite) TestNetworkSwitching() {
}
func (s *ManagerTestSuite) TestStartNodeWithUpstreamEnabled() {
nodeConfig, err := e2e.MakeTestNodeConfig(params.RopstenNetworkID)
if GetNetworkID() == params.StatusChainNetworkID {
s.T().Skip()
return
}
nodeConfig, err := e2e.MakeTestNodeConfig(GetNetworkID())
s.NoError(err)
networkURL, err := GetRemoteURLForNetworkID()

View File

@ -30,6 +30,11 @@ func (s *RPCTestSuite) SetupTest() {
}
func (s *RPCTestSuite) TestCallRPC() {
if GetNetworkID() == params.StatusChainNetworkID {
s.T().Skip()
return
}
for _, upstreamEnabled := range []bool{false, true} {
nodeConfig, err := e2e.MakeTestNodeConfig(GetNetworkID())
s.NoError(err)

View File

@ -83,6 +83,11 @@ func (s *TransactionsTestSuite) TestCallRPCSendTransactionUpstream() {
// FIXME(tiabc): Stop skipping after https://github.com/status-im/status-go/issues/424
s.T().Skip()
if GetNetworkID() == params.StatusChainNetworkID {
s.T().Skip()
return
}
addr, err := GetRemoteURLForNetworkID()
s.NoError(err)
s.StartTestBackend(e2e.WithUpstream(addr))
@ -311,6 +316,11 @@ func (s *TransactionsTestSuite) TestSendEtherTxUpstream() {
// FIXME(tiabc): Stop skipping after https://github.com/status-im/status-go/issues/424
s.T().Skip()
if GetNetworkID() == params.StatusChainNetworkID {
s.T().Skip()
return
}
addr, err := GetRemoteURLForNetworkID()
s.NoError(err)
s.StartTestBackend(e2e.WithUpstream(addr))