mirror of
https://github.com/kemko/nomad.git
synced 2026-01-08 19:35:41 +03:00
Add README and other review feedback
This commit is contained in:
19
e2e/README.md
Normal file
19
e2e/README.md
Normal 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
|
||||
|
||||
```
|
||||
@@ -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()
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user