Skip to content

Commit

Permalink
fix: route and access token tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterPtato committed Apr 5, 2024
1 parent 24644fa commit 8020d9c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/bolt-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ jobs:
- name: Bolt Test
run: nix-shell --pure --run "bolt test"

- name: Tmate
if: failure()
uses: mxschmitt/action-tmate@v3

- name: K3D Cleanup
if: always()
run: nix-shell --pure --run "k3d cluster delete rivet-ci"
Expand Down
2 changes: 2 additions & 0 deletions svc/api/route/tests/basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,8 @@ mod cdn_suite {
.await
.unwrap();

tokio::time::sleep(std::time::Duration::from_secs(5)).await;

// Test HTML
{
let res = test_cdn_path(&version, "/index.html", |req| {
Expand Down
2 changes: 1 addition & 1 deletion svc/pkg/user/ops/resolve-access-token/tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ async fn empty(ctx: TestCtx) {
.await
.unwrap();

let name = "foo".to_string();
let name = util::faker::ident();
op!([ctx] user_identity_create {
user_id: user_res.user_id,
identity: Some(backend::user_identity::Identity {
Expand Down

0 comments on commit 8020d9c

Please sign in to comment.