Skip to content

Commit

Permalink
Make tests non-async
Browse files Browse the repository at this point in the history
It appears to fix most of the random test errors.

Fixes: #3736
  • Loading branch information
brianmay committed Mar 14, 2024
1 parent 21ea37f commit f8be480
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion test/teslamate/vehicles/vehicle/charging_test.exs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
defmodule TeslaMate.Vehicles.Vehicle.ChargingTest do
use TeslaMate.VehicleCase, async: true
use TeslaMate.VehicleCase, async: false

alias TeslaMate.Vehicles.Vehicle.Summary
alias TeslaMate.Log.ChargingProcess
Expand Down
2 changes: 1 addition & 1 deletion test/teslamate/vehicles/vehicle/driving_test.exs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
defmodule TeslaMate.Vehicles.Vehicle.DrivingTest do
use TeslaMate.VehicleCase, async: true
use TeslaMate.VehicleCase, async: false

alias TeslaMate.Vehicles.Vehicle.Summary
alias TeslaMate.Log.Drive
Expand Down
2 changes: 1 addition & 1 deletion test/teslamate/vehicles/vehicle/streaming_test.exs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
defmodule TeslaMate.Vehicles.Vehicle.StreamingTest do
use TeslaMate.VehicleCase, async: true
use TeslaMate.VehicleCase, async: false

import ExUnit.CaptureLog

Expand Down
2 changes: 1 addition & 1 deletion test/teslamate/vehicles/vehicle/suspend_logging_test.exs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
defmodule TeslaMate.Vehicles.Vehicle.SuspendLoggingTest do
use TeslaMate.VehicleCase, async: true
use TeslaMate.VehicleCase, async: false

alias TeslaMate.Vehicles.Vehicle.Summary
alias TeslaMate.Vehicles.Vehicle
Expand Down
2 changes: 1 addition & 1 deletion test/teslamate/vehicles/vehicle/suspend_test.exs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
defmodule TeslaMate.Vehicles.Vehicle.SuspendTest do
use TeslaMate.VehicleCase, async: true
use TeslaMate.VehicleCase, async: false

alias TeslaMate.Vehicles.Vehicle.Summary

Expand Down
2 changes: 1 addition & 1 deletion test/teslamate/vehicles/vehicle/updating_test.exs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
defmodule TeslaMate.Vehicles.Vehicle.UpdatingTest do
use TeslaMate.VehicleCase, async: true
use TeslaMate.VehicleCase, async: false

alias TeslaMate.Vehicles.Vehicle.Summary

Expand Down

0 comments on commit f8be480

Please sign in to comment.