Fix E2E
This commit is contained in:
parent
1a05e184a7
commit
ec58c0ab9b
4 changed files with 3 additions and 4 deletions
2
.github/workflows/e2e.yml
vendored
2
.github/workflows/e2e.yml
vendored
|
|
@ -38,7 +38,7 @@ jobs:
|
|||
- name: E2E tests
|
||||
run: |
|
||||
cd backend
|
||||
RUST_BACKTRACE=1 cargo run -p sync_server config-e2e.yml &
|
||||
cargo run -p sync_server config-e2e.yml --color never &
|
||||
cd ..
|
||||
|
||||
scripts/update-api-types.sh
|
||||
|
|
|
|||
|
|
@ -17,9 +17,7 @@ pub struct Args {
|
|||
|
||||
#[arg(
|
||||
long,
|
||||
require_equals = true,
|
||||
value_name = "WHEN",
|
||||
num_args = 0..=1,
|
||||
default_value_t = ColorWhen::Auto,
|
||||
default_missing_value = "always",
|
||||
value_enum
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@ fn set_up_logging(args: &Args) -> Result<(), SyncServerError> {
|
|||
.map_err(init_error)?;
|
||||
|
||||
let use_colors = args.color.use_colors();
|
||||
|
||||
let is_debug_mode = args.verbose.log_level_filter() >= log::LevelFilter::Debug;
|
||||
|
||||
tracing_subscriber::fmt()
|
||||
|
|
|
|||
|
|
@ -295,7 +295,7 @@ export class Syncer {
|
|||
};
|
||||
|
||||
this.applyRemoteChangesWebSocket.onclose = (event): void => {
|
||||
this.logger.error(
|
||||
this.logger.warn(
|
||||
`WebSocket closed with code ${event.code}: ${event.reason}`
|
||||
);
|
||||
this.webSocketStatusChangeListeners.forEach((listener) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue