Keyboard Shortcuts

File
u :up to issue
m :publish + mail comments
M :edit review message
j / k :jump to file after / before current file
J / K :jump to next file with a comment after / before current file
Side-by-side diff
i :toggle intra-line diffs
e :expand all comments
c :collapse all comments
s :toggle showing all comments
n / p :next / previous diff chunk or comment
N / P :next / previous comment
<Up> / <Down> :next / previous line
<Enter> :respond to / edit current comment
d :mark current comment as done
Issue
u :up to list of issues
m :publish + mail comments
j / k :jump to patch after / before current patch
o / <Enter> :open current patch in side-by-side view
i :open current patch in unified diff view
Issue List
j / k :jump to issue after / before current issue
o / <Enter> :open current issue
# : close issue
Comment/message editing
<Ctrl> + s or <Ctrl> + Enter :save comment
<Esc> :cancel edit
Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4)
Issues Repositories Search
Open Issues | Closed Issues | All Issues | Sign in with your Google Account to create issues and add comments

Issue 55900043: Refactored Juju Run

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 11 months ago by waigani
Modified:
11 years, 11 months ago
Reviewers:
mp+202792, thumper
Visibility:
Public.
Refactored Juju Run Proxy env vars are passed into unit context i.e. `[ -f "/home/ubuntu/.juju-proxy" ] && . "/home/ubuntu/.juju-proxy"` is prepended to juju run cmd inside RunCommand.executeInUnitContext method https://code.launchpad.net/~waigani/juju-core/refactor-juju-run/+merge/202792 (do not edit description out of merge proposal)

Patch Set 1 #

Created: 11 years, 11 months ago
Download [raw] [tar.bz2]
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -4 lines) Patch
[revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
cmd/jujud/run.go View 1 chunk +3 lines, -1 line 0 comments Download
state/apiserver/client/run.go View 1 chunk +1 line, -2 lines 0 comments Download
state/apiserver/client/run_test.go View 1 chunk +1 line, -1 line 0 comments Download
Total messages: 4
|
waigani
Please take a look.
11 years, 11 months ago (2014年01月23日 06:20:01 UTC) #1
Please take a look.
Sign in to reply to this message.
thumper
These look good. We were also going to check the err response from the fslock ...
11 years, 11 months ago (2014年01月23日 20:55:19 UTC) #2
These look good.
We were also going to check the err response from the fslock Lock method.
Sign in to reply to this message.
waigani
On 2014年01月23日 20:55:19, thumper wrote: > These look good. > > We were also going ...
11 years, 11 months ago (2014年01月27日 09:27:38 UTC) #3
On 2014年01月23日 20:55:19, thumper wrote:
> These look good.
> 
> We were also going to check the err response from the fslock Lock method.
In run_test.go I've written:
func (s *RunTestSuite) TestGetLock(c *gc.C) {
	_, err := getLock()
	c.Assert(err, gc.ErrorMatches, "mkdir /var/lib/juju/locks: permission denied")
}
Is this what you meant? It passes, but I don't know if "mkdir
/var/lib/juju/locks: permission denied" is expected. I don't understand the
problem / remember why/how we were going to test the fslock?
Sign in to reply to this message.
thumper
On 2014年01月27日 09:27:38, waigani wrote: > On 2014年01月23日 20:55:19, thumper wrote: > > These look ...
11 years, 11 months ago (2014年02月12日 02:24:05 UTC) #4
On 2014年01月27日 09:27:38, waigani wrote:
> On 2014年01月23日 20:55:19, thumper wrote:
> > These look good.
> > 
> > We were also going to check the err response from the fslock Lock method.
> 
> In run_test.go I've written:
> 
> func (s *RunTestSuite) TestGetLock(c *gc.C) {
> 	_, err := getLock()
> 	c.Assert(err, gc.ErrorMatches, "mkdir /var/lib/juju/locks: permission
denied")
> }
> 
> Is this what you meant? It passes, but I don't know if "mkdir
> /var/lib/juju/locks: permission denied" is expected. I don't understand the
> problem / remember why/how we were going to test the fslock?
Yes that is expected, and there is already another bug outstanding for that.
LGTM
Sign in to reply to this message.
|
Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b

AltStyle によって変換されたページ (->オリジナル) /