 
   describe "standard application" do
     @tag :expensive
-    @tag timeout: 120_000 # 2m
+    @tag timeout: 60_000 * 5 # 5m
     test "can build release and start it" do
       with_standard_app do
         # Build release

          tarfile = Path.join([@standard_output_path, "releases", "0.0.1", "standard_app.tar.gz"])
          assert :ok = :erl_tar.extract('#{tarfile}', [{:cwd, '#{tmpdir}'}, :compressed])
          assert File.exists?(bin_path)
          assert {_output, 0} = System.cmd(bin_path, ["start"])
          :timer.sleep(1_000) # Required, since starting up takes a sec
          assert {"pong" <> @newline, 0} = System.cmd(bin_path, ["ping"])
          assert {"2" <> @newline, 0}    = System.cmd(bin_path, ["eval", "'Elixir.Application':get_env(standard_app, num_procs)"])
          assert {"ok" <> @newline, 0}   = System.cmd(bin_path, ["stop"])
        rescue
          e ->
            _ = System.cmd(bin_path, ["stop"])
            fields = Map.from_struct(e)
            reraise(e.__struct__, Enum.into(fields, []), System.stacktrace)
        after
          File.rm_rf!(tmpdir)
          :ok

    end

    @tag :expensive
    @tag timeout: 60_000 * 5 # 5m
    test "can build and deploy hot upgrade" do
      with_standard_app do
        # Build v1 release
