Re: Using juju ssh from windows clients

2016-10-28 Thread John Meinel
I thought you could change the properties of a file handle so that it would be in binary mode, instead of text mode. https://msdn.microsoft.com/en-us/library/ktss1a9b.aspx says that you can use "_setmode" to change the stdin descriptor https://msdn.microsoft.com/en-us/library/tw4k6df8.aspx I

Using juju ssh from windows clients

2016-10-28 Thread Martin Packman
Looking at juju ssh session from windows client bug: The core issue is simple. We pass stdin straight over the ssh connection, without coping with it being a windows text stream. So lines are terminated with '\r\n' rather than just '\n', which

Re: Long tests

2016-10-28 Thread Katherine Cox-Buday
Nate Finch writes: Thanks for highlighting these, Nate! > Here's some especially bad low hanging fruit (note these are the times > for single tests, not full suites): If anyone is so inclined, I have modified the deploy command so that it is unit testable, and

Re: Bootstrap Constraints

2016-10-28 Thread Dimiter Naydenov
On 10/19/2016 11:45 PM, James Beedy wrote: > Team, > > From what I can gather, Juju either allows or disallows you to bootstrap > to a specific network/subnet dependent on whether or not the provider > supports a network space bootstrap constraint. The EC2 provider just so > happens to be one of

Re: Long tests

2016-10-28 Thread roger peppe
Thanks for looking at this long standing issue. If you really want to speed up the tests, I believe the most fruitful place is to work on speeding up JujuConnSuite.SetUpTest I'm pretty sure it does a bunch of stuff (e.g. creating a fake juju home directory) that aren't required by 95% of tests.