User Tools

Site Tools


juju-testing

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
juju-testing [2015/04/03 11:57]
gsamfira
juju-testing [2015/07/09 15:54] (current)
bteleaga
Line 65: Line 65:
   - compile your own   - compile your own
  
-You can get a  {{:​mongo-static.zip|precompiled version of mongod.exe here}}.+You can get a  {{:​mongo-static.zip|precompiled version of mongod.exe here}}. ​(md5: 27a623932453e1cf80c6889a81335ee8)
  
 To download it via PowerShell type in the following command in the PowerShell prompt: To download it via PowerShell type in the following command in the PowerShell prompt:
Line 82: Line 82:
 Now let's extract mongo: Now let's extract mongo:
  
-  & '​C:​\Program Files\7-Zip\7z.exe'​ x mongo.zip+  & '​C:​\Program Files\7-Zip\7z.exe'​ x mongo-static.zip
   ​   ​
 You should have a a mongod.exe file. Lets check if it actually works: You should have a a mongod.exe file. Lets check if it actually works:
  
-  .\mongod.exe --version+  ​PS C:​\Users\Administrator> ​.\mongod.exe --version 
 +  db version v2.6.3 
 +  2015-04-03T11:​57:​55.699-0700 git version: 255f67a66f9603c59380b2a389e386910bbb52cb 
 +  2015-04-03T11:​57:​55.699-0700 OpenSSL version: OpenSSL 0.9.8r 8 Feb 2011
  
 ==== Adding mongod to your $PATH ==== ==== Adding mongod to your $PATH ====
Line 112: Line 115:
   cd $env:​GOPATH\src\github.com\juju\juju   cd $env:​GOPATH\src\github.com\juju\juju
   go test ./...   go test ./...
 +
 +===== Accessing the machine from Linux =====
 +
 +Some of you might want to edit the go source from Linux using your favorite editors. To do that we can set up a share.
 +
 +  sudo mount -t cifs -o username=Administrator,​password=<​password>,​uid=$UID,​gid=$GID //<​hostname>/​C$ <​mountpoint>​
 +
 +Now all of your C drive will be available at <​mountpoint>​.
 +
 +As a bonus, you can use https://​github.com/​masterzen/​winrm to winrm directly into the machine and run the test suite from the comfort of your shell. Follow the instructions provided in the github repository, but set the maximum memory allowed at however much the machine has instead of 1024. The test suite tends to eat quite a lot of memory. This does not necessarily depend on this particular winrm package, but it just simply works and will probably get integrated in juju as well soon.
   ​   ​
 ===== Bonus: ===== ===== Bonus: =====
juju-testing.1428051465.txt.gz · Last modified: 2015/04/03 11:57 (external edit)