Add README and other review feedback

This commit is contained in:
Preetha Appan
2018-03-09 16:15:12 -06:00
parent 4d45aea019
commit 3fcf44edbf
2 changed files with 20 additions and 1 deletions

19
e2e/README.md Normal file
View File

@@ -0,0 +1,19 @@
End to End Tests
================
This package contains integration tests that are not run by default. To run them use the `-integration` flag. Example:
```
$ cd e2e/rescheduling/
$ go test -integration
Running Suite: Server Side Restart Tests
========================================
Random Seed: 1520633027
Will run 7 of 7 specs
•••••••
Ran 7 of 7 Specs in 4.231 seconds
SUCCESS! -- 7 Passed | 0 Failed | 0 Pending | 0 Skipped PASS
ok github.com/hashicorp/nomad/e2e/rescheduling 4.239s
```

View File

@@ -52,8 +52,8 @@ var _ = Describe("Server Side Restart Tests", func() {
// Create client
client, err := api.NewClient(conf)
jobs = client.Jobs()
Expect(err).ShouldNot(HaveOccurred())
jobs = client.Jobs()
system = client.System()
})