(t *testing.T)
| 865 | } |
| 866 | |
| 867 | func TestConcurrentJSONRPCBatching(t *testing.T) { |
| 868 | ctx, cancel := context.WithCancel(context.Background()) |
| 869 | defer cancel() |
| 870 | |
| 871 | _, conf := NodeSuite(t) |
| 872 | var wg sync.WaitGroup |
| 873 | c := getHTTPClient(t, conf) |
| 874 | for i := 0; i < 50; i++ { |
| 875 | wg.Add(1) |
| 876 | go func() { |
| 877 | defer wg.Done() |
| 878 | testBatchedJSONRPCCalls(ctx, t, c) |
| 879 | }() |
| 880 | } |
| 881 | wg.Wait() |
| 882 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…