       end)
 
     {:ok, execute_ref} = Scheduler.schedule(sch, executed)
-    assert_receive {Scheduler, ^execute_ref, {:error, "failed to read pin!"}}
+    assert_receive {Scheduler, ^execute_ref, {:error, "failed to read pin!"}}, 5000
   end
 
   @tag :annoying

      end)

    {:ok, execute_ref} = Scheduler.schedule(sch, executed)
    assert_receive {Scheduler, ^execute_ref, :ok}
    assert_receive {:move_absolute, [129, 129, 129, 921]}
  end

  test "syscall errors", %{table: sch} do

    assert_receive {:wait, time_1}
    assert_receive {:read_pin, time_2}

    assert time_2 - time_1 < 2000
  end

  test "execute then schedule", %{table: sch} do
