fix_: skip tests using infura (#5086)
This commit is contained in:
parent
faf823f62f
commit
295685c1fe
|
@ -55,6 +55,7 @@ func (s *ProxySuite) startRpcClient(infuraURL string) *Client {
|
|||
}
|
||||
|
||||
func (s *ProxySuite) TestRun() {
|
||||
s.T().Skip("skip test using infura")
|
||||
infuraURL := "https://mainnet.infura.io/v3/800c641949d64d768a5070a1b0511938"
|
||||
client := s.startRpcClient(infuraURL)
|
||||
|
||||
|
|
|
@ -51,6 +51,7 @@ func setupTestAPI(t *testing.T) (*API, func()) {
|
|||
}
|
||||
|
||||
func TestResolver(t *testing.T) {
|
||||
t.Skip("skip test using infura")
|
||||
api, cancel := setupTestAPI(t)
|
||||
defer cancel()
|
||||
|
||||
|
@ -60,6 +61,7 @@ func TestResolver(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestGetName(t *testing.T) {
|
||||
t.Skip("skip test using infura")
|
||||
api, cancel := setupTestAPI(t)
|
||||
defer cancel()
|
||||
|
||||
|
@ -69,6 +71,7 @@ func TestGetName(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestOwnerOf(t *testing.T) {
|
||||
t.Skip("skip test using infura")
|
||||
api, cancel := setupTestAPI(t)
|
||||
defer cancel()
|
||||
|
||||
|
@ -78,6 +81,7 @@ func TestOwnerOf(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestContentHash(t *testing.T) {
|
||||
t.Skip("skip test using infura")
|
||||
api, cancel := setupTestAPI(t)
|
||||
defer cancel()
|
||||
|
||||
|
@ -87,6 +91,7 @@ func TestContentHash(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestPublicKeyOf(t *testing.T) {
|
||||
t.Skip("skip test using infura")
|
||||
api, cancel := setupTestAPI(t)
|
||||
defer cancel()
|
||||
|
||||
|
@ -100,6 +105,7 @@ func TestPublicKeyOf(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestAddressOf(t *testing.T) {
|
||||
t.Skip("skip test using infura")
|
||||
api, cancel := setupTestAPI(t)
|
||||
defer cancel()
|
||||
|
||||
|
@ -109,6 +115,7 @@ func TestAddressOf(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestExpireAt(t *testing.T) {
|
||||
t.Skip("skip test using infura")
|
||||
api, cancel := setupTestAPI(t)
|
||||
defer cancel()
|
||||
|
||||
|
@ -118,6 +125,7 @@ func TestExpireAt(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestPrice(t *testing.T) {
|
||||
t.Skip("skip test using infura")
|
||||
api, cancel := setupTestAPI(t)
|
||||
defer cancel()
|
||||
|
||||
|
@ -127,6 +135,7 @@ func TestPrice(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestResourceURL(t *testing.T) {
|
||||
t.Skip("skip test using infura")
|
||||
api, cancel := setupTestAPI(t)
|
||||
defer cancel()
|
||||
|
||||
|
|
|
@ -30,6 +30,7 @@ func createDB(t *testing.T) (*sql.DB, func()) {
|
|||
}
|
||||
|
||||
func setupTestAPI(t *testing.T) (*API, func()) {
|
||||
t.Skip("skip test using infura")
|
||||
db, cancel := createDB(t)
|
||||
|
||||
keyStoreDir := t.TempDir()
|
||||
|
|
Loading…
Reference in New Issue