Skip to content

Commit

Permalink
No cache for TestAPIClient_WithRetry test
Browse files Browse the repository at this point in the history
  • Loading branch information
xssnick committed Mar 18, 2024
1 parent 0ea2a6b commit 9197039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ton/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ func TestAPIClient_GetLibraries(t *testing.T) {
func TestAPIClient_WithRetry(t *testing.T) {
apiTimeout := api.WithTimeout(1 * time.Millisecond)

_, err := apiTimeout.CurrentMasterchainInfo(context.Background())
_, err := apiTimeout.GetMasterchainInfo(context.Background())
if !errors.Is(err, context.DeadlineExceeded) {
t.Fatal("expected deadline exceeded error but", err)
}
Expand Down

0 comments on commit 9197039

Please sign in to comment.