Skip to content

Fixed return type Void to void in DataMotionStrategy. - #969

Merged
asfgit merged 1 commit into
apache:masterfrom
rafaelweingartner:master-lrg-cs-hackday-002
Jan 27, 2016
Merged

asfgit merged 1 commit into
apache:masterfrom
rafaelweingartner:master-lrg-cs-hackday-002

Conversation

@rodrigo93

Copy link
Copy Markdown
Contributor

The main changes are:

  • Changing methods “Void” to “void”.
  • Removal of the method “Void copyAsync(DataObject srcData, DataObject
    destData, AsyncCompletionCallback callback)” that was
    never used.
    We noticed that methods form that class are using the return type Void
    with capital V. This way that method has to return a null value at the
    end.

Removed trim lines from XenServerStorageMotionStrategy.

The trim lines were removed from XenServerStorageMotionStrategy.

@remibergsma

Copy link
Copy Markdown
Contributor

Hi @rodrigo93 can you please rebase against current master? Then I can run soms tests. Thanks!

@rodrigo93 rodrigo93 closed this Oct 26, 2015
@rodrigo93
rodrigo93 force-pushed the master-lrg-cs-hackday-002 branch from 3881345 to f241455 Compare October 26, 2015 16:29
@rodrigo93

Copy link
Copy Markdown
Contributor Author

Hi @remibergsma I have just rebased the PR.

@rodrigo93 rodrigo93 reopened this Oct 26, 2015
@rodrigo93
rodrigo93 force-pushed the master-lrg-cs-hackday-002 branch from 781d669 to 3217641 Compare October 26, 2015 20:26
@yadvr

yadvr commented Nov 4, 2015

Copy link
Copy Markdown
Member

LGTM (code, no testing performed)

@rodrigo93

Copy link
Copy Markdown
Contributor Author

Just to update, I merged the commit with master.

@remibergsma

Copy link
Copy Markdown
Contributor

Hi @rodrigo93 Thanks for rebasing, but please make sure you have one commit (and get rid of the merge commit). Thanks!

@rodrigo93
rodrigo93 force-pushed the master-lrg-cs-hackday-002 branch 2 times, most recently from 4c9a521 to 1c1ece1 Compare November 22, 2015 19:28
@rafaelweingartner
rafaelweingartner force-pushed the master-lrg-cs-hackday-002 branch from 1c1ece1 to a5ca762 Compare November 28, 2015 11:28
@rafaelweingartner

Copy link
Copy Markdown
Member

@remibergsma I have rebased and squashed the commits for @rodrigo93

@DaanHoogland

Copy link
Copy Markdown
Contributor

@rafaelweingartner @rodrigo93 I see more changes then needed in the diff. Are there proper line endings in the files? this is a usual problem in those cases.

@rafaelweingartner

Copy link
Copy Markdown
Member

My bad, I did not waited till the Maven fixed all of projects configuration.
I will fix that.

The main changes are:
•	Changing methods “Void” to “void”.
•	Removal of the method “Void copyAsync(DataObject srcData, DataObject
destData, AsyncCompletionCallback callback)” that was never used. We
noticed that methods form that class are using the return type Void with
capital V. This way that method has to return a null value at the end.
@rafaelweingartner
rafaelweingartner force-pushed the master-lrg-cs-hackday-002 branch from 75af4ae to 4a9487e Compare November 28, 2015 14:10
@rafaelweingartner

Copy link
Copy Markdown
Member

@DaanHoogland problem fixed ;)

@rodrigo93

Copy link
Copy Markdown
Contributor Author

Hi guys.
Sorry for the delay. Thank you all for helping me out. I had some personal problems.
My bad.
Thanks once again! I hope this commit will help in some way. :)

@DaanHoogland

Copy link
Copy Markdown
Contributor

LGTM, will start a regression suite

@rodrigo93

Copy link
Copy Markdown
Contributor Author

Hello everyone. Sorry to bother you but, how are the tests going?
Is there anything else that I can do?

@DaanHoogland

Copy link
Copy Markdown
Contributor

sorry @rodrigo93 it got squashed between all the work we did during the last releases. I'll start it again.

@rodrigo93

Copy link
Copy Markdown
Contributor Author

That's ok @DaanHoogland, don't need to hurry.

@DaanHoogland

Copy link
Copy Markdown
Contributor

it zooming. I think it passes all the way but I made a booboo on the test scripts running an old version. will report tomorow morning, @rodrigo93 .

@rodrigo93

Copy link
Copy Markdown
Contributor Author

Alright @DaanHoogland. Thanks for the help! =)

@DaanHoogland

Copy link
Copy Markdown
Contributor

One failure. I am yet to investigat if it is related. will try and find time soon.
969.network.results.txt
969.vpc.results.txt

@rafaelweingartner

Copy link
Copy Markdown
Member

@DaanHoogland the problem seems to be related to something else.
It seemed more like a DNS problem to resolve the google.com address

@rodrigo93

Copy link
Copy Markdown
Contributor Author

I agree with @rafaelweingartner, since we can check that in last lines.

@DaanHoogland

Copy link
Copy Markdown
Contributor

ok, i am convinced. it has nothing to do with the code at hand. I will rerun the intergration to be sure but if I don't come back here: LGTM

@rodrigo93

Copy link
Copy Markdown
Contributor Author

Thanks @DaanHoogland !

@DaanHoogland

Copy link
Copy Markdown
Contributor

I am afraid the error is persistent and in two environments. I will have a look if I see the same behaiavure with other PRs

@DaanHoogland

Copy link
Copy Markdown
Contributor

so it was env:
969.network.results.txt
969.vpc.results.txt
everything passes: LGTM affirmed
pinging RM @remibergsma

@rodrigo93

Copy link
Copy Markdown
Contributor Author

Hmmm, interesting... Did you know what exactly was causing that error? @DaanHoogland

@DaanHoogland

Copy link
Copy Markdown
Contributor

No, these are disposible test enviroments. They are at two different companies (Schuberg Philis and Leasweb) but as the test code has no relation to the change and the tests passed last time without alteration I will blame upstream networking and pretend innocence.

@remibergsma can you merge this?

@rodrigo93

Copy link
Copy Markdown
Contributor Author

@DaanHoogland I see... Well, thanks for your effort on helping in this PR. :)

@yadvr

yadvr commented Jan 27, 2016

Copy link
Copy Markdown
Member

LGTM
Merging based on comments, test results shared and 2+LGTMs

@asfgit
asfgit merged commit 4a9487e into apache:master Jan 27, 2016
asfgit pushed a commit that referenced this pull request Jan 27, 2016
Fixed return type Void to void in  DataMotionStrategy.The main changes are:
-	Changing methods Void to void.
-	Removal of the method Void copyAsync(DataObject srcData, DataObject
destData, AsyncCompletionCallback<CopyCommandResult> callback) that was
never used.
We noticed that methods form that class are using the return type Void
with capital V. This way that method has to return a null value at the
end.

Removed trim lines from XenServerStorageMotionStrategy.

The trim lines were removed from XenServerStorageMotionStrategy.

* pr/969:
  Changed return of methods from DataMotionStrategy, Void to void

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
@rodrigo93

Copy link
Copy Markdown
Contributor Author

Thanks @bhaisaab !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants