Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: route and access token tests #578

Merged
merged 1 commit into from
Apr 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
MasterPtato marked this conversation as resolved.
Show resolved Hide resolved

- name: K3D Cleanup
if: always()
run: nix-shell --pure --run "k3d cluster delete rivet-ci"
Expand Down
5 changes: 3 additions & 2 deletions svc/api/traefik-provider/tests/basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,7 @@ async fn job_run() {
}

mod cdn_suite {

use super::Ctx;
use super::{Ctx, CDN_SLEEP_DURATION};
use proto::backend::{self, cdn::*, pkg::*};
use rivet_operation::prelude::*;

Expand Down Expand Up @@ -369,6 +368,8 @@ mod cdn_suite {
.await
.unwrap();

tokio::time::sleep(CDN_SLEEP_DURATION).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
Loading