Skip to content

Commit

Permalink
Remove now-redundant query-ci tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bruce-riley committed Aug 1, 2024
1 parent 6cb596a commit 537c6d2
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 333 deletions.
8 changes: 1 addition & 7 deletions Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ generic_relayer = cfg.get("generic_relayer", ci)
query_server = cfg.get("query_server", ci)

if ci:
guardiand_loglevel = cfg.get("guardiand_loglevel", "info")
guardiand_loglevel = cfg.get("guardiand_loglevel", "warn")
else:
guardiand_loglevel = cfg.get("guardiand_loglevel", "info")

Expand Down Expand Up @@ -660,12 +660,6 @@ if ci_tests:
trigger_mode = trigger_mode,
resource_deps = [], # uses devnet-consts.json, but wormchain/contracts/tools/test_ntt_accountant.sh handles waiting for guardian, not having deps gets the build earlier
)
k8s_resource(
"query-ci-tests",
labels = ["ci"],
trigger_mode = trigger_mode,
resource_deps = [], # node/hack/query/test/test_query.sh handles waiting for guardian, not having deps gets the build earlier
)
k8s_resource(
"query-sdk-ci-tests",
labels = ["ci"],
Expand Down
2 changes: 1 addition & 1 deletion devnet/query-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ spec:
# Hardcoded devnet bootstrap (generated from deterministic key in guardiand)
- --bootstrap
- /dns4/guardian-0.guardian/udp/8996/quic/p2p/12D3KooWL3XJ9EMCyZvmmGXL2LMiVBtrVa2BuESsJiXkSj7333Jw
- --logLevel=info
- --logLevel=warn
- --shutdownDelay1
- "0"
- --allowAnything
Expand Down
317 changes: 0 additions & 317 deletions node/hack/query/test/query_test.go

This file was deleted.

7 changes: 0 additions & 7 deletions node/hack/query/test/test_query.sh

This file was deleted.

3 changes: 2 additions & 1 deletion sdk/js-query/src/query/solana.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,8 @@ describe("solana", () => {
const query = new PerChainQueryRequest(1, solAccountReq);
let nonce = 42;
let promises: Promise<AxiosResponse<any, any>>[] = [];
for (let count = 0; count < 20; count++) {
// The count should be no more than the number of workers defined for Solana in `node/pkg/query/query.go`.
for (let count = 0; count < 10; count++) {
nonce += 1;
const request = new QueryRequest(nonce, [query]);
const serialized = request.serialize();
Expand Down

0 comments on commit 537c6d2

Please sign in to comment.