Skip to content

Commit

Permalink
deploy test
Browse files Browse the repository at this point in the history
  • Loading branch information
dndll committed Mar 28, 2024
1 parent 84c23e4 commit cb5599a
Show file tree
Hide file tree
Showing 8 changed files with 77 additions and 30 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ state.db/
wrapped/
build/
.git/
.env/
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ meta {
}

post {
url: {{lightClientBaseUrl}}
url: {{operatorBaseUrl}}
body: json
auth: none
}
Expand All @@ -19,3 +19,7 @@ body:json {
}
}
}

assert {
res.status: eq 200
}
File renamed without changes.
29 changes: 1 addition & 28 deletions api/succinct/Get proof status.bru

Large diffs are not rendered by default.

13 changes: 12 additions & 1 deletion environments/local.bru
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
vars {
succinctBaseUrl: https://dndll.requestcatcher.com
succinctBaseUrl: https://alpha.succinct.xyz/api
nearBaseUrl: https://archival-rpc.testnet.near.org
lightClientBaseUrl: http://0.0.0.0:3030
operatorBaseUrl: http://0.0.0.0:3001
gitRef: 700edd24ac1666307f3f740e36bf4c5808c26e1b
}
vars:secret [
succinctApiKey,
succinctSession,
version,
releaseId,
releaseNum,
]
3 changes: 3 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@

vscode-extensions.vadimcn.vscode-lldb.adapter
rust-analyzer

(google-cloud-sdk.withExtraComponents ([pkgs.google-cloud-sdk.components.cloud-run-proxy]))

];
buildInputs = with pkgs; [
(rustVersion.override { extensions = [ "rust-src" ]; })
Expand Down
55 changes: 55 additions & 0 deletions test.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"summary": {
"totalRequests": 1,
"passedRequests": 1,
"failedRequests": 0,
"totalAssertions": 0,
"passedAssertions": 0,
"failedAssertions": 0,
"totalTests": 0,
"passedTests": 0,
"failedTests": 0
},
"results": [
{
"test": {
"filename": "api/succinct/Get proof status.bru"
},
"request": {
"method": "GET",
"url": "https://alpha.succinct.xyz/api/proof/e112ffa6-d2ee-4263-ac93-a31b94277882",
"headers": {
"content-type": "application/json"
}
},
"response": {
"status": 500,
"statusText": "Internal Server Error",
"headers": {
"cache-control": "public, max-age=0, must-revalidate",
"cf-cache-status": "DYNAMIC",
"cf-ray": "86b8f7084e9a9408-LHR",
"connection": "keep-alive",
"content-type": "application/json",
"date": "Thu, 28 Mar 2024 16:23:29 GMT",
"rndr-id": "7e837532-0efc-42da",
"server": "Vercel",
"strict-transport-security": "max-age=63072000",
"vary": "Origin, Cookie, Accept-Encoding",
"x-render-origin-server": "Render",
"x-vercel-id": "lhr1::drsz9-1711643009296-8fbc9bc3ace2",
"transfer-encoding": "chunked"
},
"data": {
"error": "failed to get proof"
},
"responseTime": 657
},
"error": null,
"assertionResults": [],
"testResults": [],
"runtime": 0.663039508,
"suitename": "api/succinct/Get proof status"
}
]
}

0 comments on commit cb5599a

Please sign in to comment.