BeforeEach(func() {
				runnerArgs.ComparisonFile = "/does/not/exist"
				runner = NewThroughputRamp(binPath, runnerArgs)
			})

			It("exits 1 with an error", func() {
				Eventually(process.Wait(), "5s").Should(Receive())
				Expect(runner.ExitCode()).To(Equal(1))
			})
		})
	})

	Context("when incorrect arguments are passed in", func() {
		BeforeEach(func() {
			runner = NewThroughputRamp(binPath, Args{})
			runner.Command = exec.Command(binPath)
		})

		It("exits 1 with usage", func() {
			process := ifrit.Background(runner)
			Eventually(process.Wait()).Should(Receive())
			Expect(runner.ExitCode()).To(Equal(1))
		})
	})

	Context("when the s3 config is not valid", func() {
		BeforeEach(func() {
			runner = NewThroughputRamp(binPath, Args{})
			runner.Command = exec.Command(binPath, "http://example.com")
		})