Skip to content

Commit

Permalink
quick fixes in docs (Azure#1956)
Browse files Browse the repository at this point in the history
  • Loading branch information
s-amann authored and ellis-johnson committed Jun 3, 2022
1 parent dc36a9a commit 25de326
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions docs/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ To run RP unit tests:
make test-go
```

To Run Go tests with coverage:

```bash
# first navigate to your directory with the code you'd like to see coverage on
t="/tmp/go-cover.$$.tmp"
go test -coverprofile=$t $@ && go tool cover -html=$t && unlink $t
```

To run python client and `az aro` CLI tests:

```bash
Expand Down
2 changes: 1 addition & 1 deletion hack/local-monitor-testing/deploy_MDM_VM.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ PUBLICIP=$( az vm list-ip-addresses --name $VMName -g $RESOURCEGROUP | jq -r '.[
echo "Found IP $PUBLICIP"

scp $BASE/secrets/rp-metrics-int.pem $CLOUDUSER@$PUBLICIP:mdm.pem
scp $BASE/hack/local-monitor-testing-MACOS/2configureRemote.sh $CLOUDUSER@$PUBLICIP:
scp $BASE/hack/local-monitor-testing/configureRemote.sh $CLOUDUSER@$PUBLICIP:

ssh $CLOUDUSER@$PUBLICIP "sudo cp mdm.pem /etc/mdm.pem"
ssh $CLOUDUSER@$PUBLICIP "sudo ./configureRemote.sh"
Expand Down
2 changes: 1 addition & 1 deletion pkg/operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ make admin.kubeconfig
export KUBECONFIG=$(pwd)/admin.kubeconfig
oc scale -n openshift-azure-operator deployment/aro-operator-master --replicas=0
make generate
go run ./cmd/aro operator master
go run -tags aro ./cmd/aro operator master
```

### How to run a custom operator image
Expand Down

0 comments on commit 25de326

Please sign in to comment.