Skip test requiring network url for statuschain
This commit is contained in:
parent
41d883a564
commit
681a2d2d83
|
@ -42,6 +42,11 @@ func (s *AccountsTestSuite) TestRPCEthAccountsWithUpstream() {
|
||||||
// FIXME(tiabc): Stop skipping after https://github.com/status-im/status-go/issues/424
|
// FIXME(tiabc): Stop skipping after https://github.com/status-im/status-go/issues/424
|
||||||
s.T().Skip()
|
s.T().Skip()
|
||||||
|
|
||||||
|
if GetNetworkID() == params.StatusChainNetworkID {
|
||||||
|
s.T().Skip()
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
addr, err := GetRemoteURLForNetworkID()
|
addr, err := GetRemoteURLForNetworkID()
|
||||||
s.NoError(err)
|
s.NoError(err)
|
||||||
s.StartTestBackend(e2e.WithUpstream(addr))
|
s.StartTestBackend(e2e.WithUpstream(addr))
|
||||||
|
|
|
@ -274,7 +274,12 @@ func (s *ManagerTestSuite) TestNetworkSwitching() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *ManagerTestSuite) TestStartNodeWithUpstreamEnabled() {
|
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)
|
s.NoError(err)
|
||||||
|
|
||||||
networkURL, err := GetRemoteURLForNetworkID()
|
networkURL, err := GetRemoteURLForNetworkID()
|
||||||
|
|
|
@ -30,6 +30,11 @@ func (s *RPCTestSuite) SetupTest() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *RPCTestSuite) TestCallRPC() {
|
func (s *RPCTestSuite) TestCallRPC() {
|
||||||
|
if GetNetworkID() == params.StatusChainNetworkID {
|
||||||
|
s.T().Skip()
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
for _, upstreamEnabled := range []bool{false, true} {
|
for _, upstreamEnabled := range []bool{false, true} {
|
||||||
nodeConfig, err := e2e.MakeTestNodeConfig(GetNetworkID())
|
nodeConfig, err := e2e.MakeTestNodeConfig(GetNetworkID())
|
||||||
s.NoError(err)
|
s.NoError(err)
|
||||||
|
|
|
@ -83,6 +83,11 @@ func (s *TransactionsTestSuite) TestCallRPCSendTransactionUpstream() {
|
||||||
// FIXME(tiabc): Stop skipping after https://github.com/status-im/status-go/issues/424
|
// FIXME(tiabc): Stop skipping after https://github.com/status-im/status-go/issues/424
|
||||||
s.T().Skip()
|
s.T().Skip()
|
||||||
|
|
||||||
|
if GetNetworkID() == params.StatusChainNetworkID {
|
||||||
|
s.T().Skip()
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
addr, err := GetRemoteURLForNetworkID()
|
addr, err := GetRemoteURLForNetworkID()
|
||||||
s.NoError(err)
|
s.NoError(err)
|
||||||
s.StartTestBackend(e2e.WithUpstream(addr))
|
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
|
// FIXME(tiabc): Stop skipping after https://github.com/status-im/status-go/issues/424
|
||||||
s.T().Skip()
|
s.T().Skip()
|
||||||
|
|
||||||
|
if GetNetworkID() == params.StatusChainNetworkID {
|
||||||
|
s.T().Skip()
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
addr, err := GetRemoteURLForNetworkID()
|
addr, err := GetRemoteURLForNetworkID()
|
||||||
s.NoError(err)
|
s.NoError(err)
|
||||||
s.StartTestBackend(e2e.WithUpstream(addr))
|
s.StartTestBackend(e2e.WithUpstream(addr))
|
||||||
|
|
Loading…
Reference in New Issue