@@ -16,6 +16,7 @@ func TestStore(t *testing.T) {
1616
1717 // Set up etcd, which will be used by all containers
1818 tag , etcdPort := utils .BuildTag (), utils .RandomPort ()
19+
1920 etcdName := "deis-etcd-" + tag
2021 cli , stdout , stdoutPipe := dockercli .NewClient ()
2122 dockercli .RunTestEtcd (t , etcdName , etcdPort )
@@ -29,7 +30,8 @@ func TestStore(t *testing.T) {
2930 etcdutils .SetSingle (t , "/deis/store/pgNum" , "64" , etcdPort )
3031
3132 // test deis-store-monitor
32- fmt .Printf ("--- Run deis/store-monitor:%s at %s\n " , tag , host )
33+ imageName := utils .ImagePrefix () + "store-monitor" + ":" + tag
34+ fmt .Printf ("--- Run %s at %s\n " , imageName , host )
3335 name := "deis-store-monitor-" + tag
3436 defer cli .CmdRm ("-f" , name )
3537 go func () {
@@ -41,7 +43,7 @@ func TestStore(t *testing.T) {
4143 "-e" , "ETCD_PORT=" + etcdPort ,
4244 "-e" , "NUM_STORES=1" ,
4345 "--net=host" ,
44- "deis/store-monitor:" + tag )
46+ imageName )
4547 }()
4648 dockercli .PrintToStdout (t , stdout , stdoutPipe , "monmap e1: 1 mons at" )
4749 if err != nil {
@@ -55,7 +57,8 @@ func TestStore(t *testing.T) {
5557 etcdutils .VerifyEtcdValue (t , "/deis/store/monSetupComplete" , "youBetcha" , etcdPort )
5658
5759 // test deis-store-daemon
58- fmt .Printf ("--- Run deis/store-daemon:%s at %s\n " , tag , host )
60+ imageName = utils .ImagePrefix () + "store-daemon" + ":" + tag
61+ fmt .Printf ("--- Run %s at %s\n " , imageName , host )
5962 name = "deis-store-daemon-" + tag
6063 cli2 , stdout2 , stdoutPipe2 := dockercli .NewClient ()
6164 defer cli2 .CmdRm ("-f" , "-v" , name )
@@ -67,7 +70,7 @@ func TestStore(t *testing.T) {
6770 "-e" , "HOST=" + host ,
6871 "-e" , "ETCD_PORT=" + etcdPort ,
6972 "--net=host" ,
70- "deis/store-daemon:" + tag )
73+ imageName )
7174 }()
7275 dockercli .PrintToStdout (t , stdout2 , stdoutPipe2 , "journal close /var/lib/ceph/osd/ceph-0/journal" )
7376 if err != nil {
@@ -79,7 +82,8 @@ func TestStore(t *testing.T) {
7982 etcdutils .VerifyEtcdValue (t , "/deis/store/osds/" + host , "0" , etcdPort )
8083
8184 // test deis-store-metadata
82- fmt .Printf ("--- Run deis/store-metadata:%s at %s\n " , tag , host )
85+ imageName = utils .ImagePrefix () + "store-metadata" + ":" + tag
86+ fmt .Printf ("--- Run %s at %s\n " , imageName , host )
8387 name = "deis-store-metadata-" + tag
8488 cli3 , stdout3 , stdoutPipe3 := dockercli .NewClient ()
8589 defer cli3 .CmdRm ("-f" , "-v" , name )
@@ -91,16 +95,17 @@ func TestStore(t *testing.T) {
9195 "-e" , "HOST=" + host ,
9296 "-e" , "ETCD_PORT=" + etcdPort ,
9397 "--net=host" ,
94- "deis/store-metadata:" + tag )
98+ imageName )
9599 }()
96100 dockercli .PrintToStdout (t , stdout3 , stdoutPipe3 , "mds.0.1 active_start" )
97101 if err != nil {
98102 t .Fatal (err )
99103 }
100104
101105 // test deis-store-gateway
106+ imageName = utils .ImagePrefix () + "store-gateway" + ":" + tag
102107 port := utils .RandomPort ()
103- fmt .Printf ("--- Run deis/store-gateway: %s at %s:%s\n " , tag , host , port )
108+ fmt .Printf ("--- Run %s at %s:%s\n " , imageName , host , port )
104109 name = "deis-store-gateway-" + tag
105110 cli4 , stdout4 , stdoutPipe4 := dockercli .NewClient ()
106111 defer cli4 .CmdRm ("-f" , name )
@@ -114,7 +119,7 @@ func TestStore(t *testing.T) {
114119 "-e" , "HOST=" + host ,
115120 "-e" , "EXTERNAL_PORT=" + port ,
116121 "-e" , "ETCD_PORT=" + etcdPort ,
117- "deis/store-gateway:" + tag )
122+ imageName )
118123 }()
119124 dockercli .PrintToStdout (t , stdout4 , stdoutPipe4 , "deis-store-gateway running..." )
120125 if err != nil {
0 commit comments