-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathps_test.go
More file actions
44 lines (38 loc) · 939 Bytes
/
ps_test.go
File metadata and controls
44 lines (38 loc) · 939 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package _tests_test
import (
. "github.com/onsi/ginkgo"
// . "github.com/onsi/gomega"
)
var _ = Describe("deis", func() {
Context("with a deployed app", func() {
XIt("can scale upward", func() {
// "deis ps:scale web=5 --app=%s"
// "deis ps:list --app=%s"
// curl app
// "deis ps:scale web=1 --app=%s"
// "deis ps:list --app=%s"
// curl app
})
XIt("can scale down to 0", func() {
// "deis ps:scale web=0 --app=%s"
// "deis ps:list --app=%s"
// curl app
// "deis ps:scale web=1--app=%s"
// "deis ps:list --app=%s"
// curl app
})
XIt("can restart all processes", func() {
// "deis ps:scale web=5 --app=%s"
// "deis ps:list --app=%s"
// curl app
// "deis ps:restart web --app=%s"
// "deis ps:list --app=%s"
// curl app
})
XIt("can restart a specific process", func() {
// "deis ps:restart web.1 --app=%s"
// "deis ps:list --app=%s"
// curl app
})
})
})