Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
Corrected some misspellings
Browse files Browse the repository at this point in the history
  • Loading branch information
croseborough committed Nov 8, 2016
1 parent 684dd38 commit 89f4299
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion control/control_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ func TestSwapPlugin(t *testing.T) {
<-lpe.done

// Swap plugin that was loaded with a different version of the plugin
Convey("Successfull swapping plugins", func() {
Convey("Successful swapping plugins", func() {
Convey("Should generate a swapped plugins event", func() {
Convey("So first plugin in catalog after swap should have name mock", func() {
So(c.PluginCatalog()[0].Name(), ShouldEqual, "mock")
Expand Down
2 changes: 1 addition & 1 deletion control/plugin/cpolicy/node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func TestConfigPolicyNode(t *testing.T) {
So(errorsMsg(pe.Errors()), ShouldContain, "required key missing (password)")
})

Convey("returns errors for missing required data (mutliple)", t, func() {
Convey("returns errors for missing required data (multiple)", t, func() {
n := NewPolicyNode()
So(n, ShouldNotBeNil)

Expand Down
2 changes: 1 addition & 1 deletion grpc/controlproxy/controlproxy_medium_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ func TestCollectMetrics(t *testing.T) {
})
})

Convey("Control.CollectMetrics returns sucessfully", t, func() {
Convey("Control.CollectMetrics returns successfully", t, func() {
reply := &rpc.CollectMetricsResponse{
Metrics: []*common.Metric{&common.Metric{
Namespace: common.ToNamespace(core.NewNamespace("testing", "this")),
Expand Down
2 changes: 1 addition & 1 deletion mgmt/rest/fixtures/mock_tribe_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ const (
}
}`

LEAVE_TRIBE_AGREEMENT_REPSONSE_NAME_LEAVE = `{
LEAVE_TRIBE_AGREEMENT_RESPONSE_NAME_LEAVE = `{
"meta": {
"code": 200,
"message": "Tribe agreement left",
Expand Down
2 changes: 1 addition & 1 deletion mgmt/rest/rest_v1_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ func TestV1Tribe(t *testing.T) {
body, err = ioutil.ReadAll(resp.Body)
So(err, ShouldBeNil)
So(
fmt.Sprintf(fixtures.LEAVE_TRIBE_AGREEMENT_REPSONSE_NAME_LEAVE),
fmt.Sprintf(fixtures.LEAVE_TRIBE_AGREEMENT_RESPONSE_NAME_LEAVE),
ShouldResemble,
string(body))
})
Expand Down
2 changes: 1 addition & 1 deletion scheduler/distributed_task_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ func TestDistributedSubscriptions(t *testing.T) {
})
})

Convey("Starting task should suceed if all deps are available", func() {
Convey("Starting task should succeed if all deps are available", func() {
//Create a task
//Create a workflowmap
wf := dsWFMap(port1)
Expand Down
2 changes: 1 addition & 1 deletion scripts/run_tests_with_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ __proj_dir="$(dirname "$__dir")"
_debug "script directory ${__dir}"
_debug "project directory ${__proj_dir}"

[[ "$SNAP_TEST_TYPE" =~ ^(small|medium|large|legacy)$ ]] || _error "invalid TEST_TYPE (value must be 'small', 'medium', 'large', or 'legacy', recieved:${SNAP_TEST_TYPE}"
[[ "$SNAP_TEST_TYPE" =~ ^(small|medium|large|legacy)$ ]] || _error "invalid TEST_TYPE (value must be 'small', 'medium', 'large', or 'legacy', received:${SNAP_TEST_TYPE}"

(cd ${__proj_dir} && docker build -t intelsdi-x/snap-test -f "${__dir}/Dockerfile" .)
docker run -it intelsdi-x/snap-test scripts/test.sh "${SNAP_TEST_TYPE}"

0 comments on commit 89f4299

Please sign in to comment.