Kaynağa Gözat

Update CONTRIBUTING.md

Ajay Tripathy 6 yıl önce
ebeveyn
işleme
8d3fc884df
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2 1
      CONTRIBUTING.md

+ 2 - 1
CONTRIBUTING.md

@@ -24,9 +24,10 @@ To confirm that the server is running, you can hit [http://localhost:9003/costDa
 
 ## Running the integration tests ##
 To run these tests:
-* Make sure you have a kubeconfig that can point to your cluster
+* Make sure you have a kubeconfig that can point to your cluster, and have permissions to create/modify a namespace called "test"
 * Connect to your the prometheus kubecost emits to on localhost:9003: 
 ```kubectl port-forward --namespace kubecost service/kubecost-prometheus-server 9003:80```
+* Temporary workaround: Copy the default.json file in this project at cloud/default.json to /models/default.json on the machine your test is running on. TODO: fix this and inject the cloud/default.json path into provider.go.
 * Navigate to cost-model/test
 * Run ```go test -timeout 700s``` from the testing directory. The tests right now take about 10 minutes (600s) to run because they bring up and down pods and wait for Prometheus to scrape data about them.