Re: Review Request 59318: Replace in EXPECT with an ASSERT in master_tests to avoid segfaults.

2017-05-22 Thread Gilbert Song

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59318/#review175739
---


Ship it!




Ship It!

- Gilbert Song


On May 22, 2017, 1:55 p.m., Kapil Arya wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/59318/
> ---
> 
> (Updated May 22, 2017, 1:55 p.m.)
> 
> 
> Review request for mesos and Gilbert Song.
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> Replace in EXPECT with an ASSERT in master_tests to avoid segfaults.
> 
> 
> Diffs
> -
> 
>   src/tests/master_tests.cpp 97d828365489fc10a0260622f7e96627528a324d 
> 
> 
> Diff: https://reviews.apache.org/r/59318/diff/2/
> 
> 
> Testing
> ---
> 
> Make check with an without the patch.
> 
> 
> Thanks,
> 
> Kapil Arya
> 
>



Re: Review Request 59318: Replace in EXPECT with an ASSERT in master_tests to avoid segfaults.

2017-05-22 Thread Kapil Arya

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59318/
---

(Updated May 22, 2017, 4:55 p.m.)


Review request for mesos and Gilbert Song.


Changes
---

Addressed Gilbert's comments


Summary (updated)
-

Replace in EXPECT with an ASSERT in master_tests to avoid segfaults.


Repository: mesos


Description (updated)
---

Replace in EXPECT with an ASSERT in master_tests to avoid segfaults.


Diffs (updated)
-

  src/tests/master_tests.cpp 97d828365489fc10a0260622f7e96627528a324d 


Diff: https://reviews.apache.org/r/59318/diff/2/

Changes: https://reviews.apache.org/r/59318/diff/1-2/


Testing
---

Make check with an without the patch.


Thanks,

Kapil Arya



Re: Review Request 59318: Replace an EXPECT with an ASSERT in master_tests to avoid segfaults.

2017-05-18 Thread Mesos Reviewbot Windows

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59318/#review175454
---



Bad patch!

Reviews applied: [59318, 59001, 59000, 58999, 58760, 58759, 58925, 58924, 58923]

Failed command: python support/apply-reviews.py -n -r 59000

Error:
error: patch failed: src/slave/containerizer/mesos/containerizer.cpp:353
error: src/slave/containerizer/mesos/containerizer.cpp: patch does not apply

Full log: NotAvailableYet\console

- Mesos Reviewbot Windows


On May 16, 2017, 7:28 p.m., Kapil Arya wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/59318/
> ---
> 
> (Updated May 16, 2017, 7:28 p.m.)
> 
> 
> Review request for mesos and Gilbert Song.
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> See summary.
> 
> 
> Diffs
> -
> 
>   src/tests/master_tests.cpp 37a54138b03229778bc62501532e698e87760218 
> 
> 
> Diff: https://reviews.apache.org/r/59318/diff/1/
> 
> 
> Testing
> ---
> 
> Make check with an without the patch.
> 
> 
> Thanks,
> 
> Kapil Arya
> 
>



Re: Review Request 59318: Replace an EXPECT with an ASSERT in master_tests to avoid segfaults.

2017-05-17 Thread Gilbert Song

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59318/#review175347
---


Fix it, then Ship it!




Please grep it. There is another one at #L4097.


src/tests/master_tests.cpp
Line 6289 (original), 6289 (patched)


Should we fix the other two `EXPECT_` in this file?


- Gilbert Song


On May 16, 2017, 12:28 p.m., Kapil Arya wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/59318/
> ---
> 
> (Updated May 16, 2017, 12:28 p.m.)
> 
> 
> Review request for mesos and Gilbert Song.
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> See summary.
> 
> 
> Diffs
> -
> 
>   src/tests/master_tests.cpp 37a54138b03229778bc62501532e698e87760218 
> 
> 
> Diff: https://reviews.apache.org/r/59318/diff/1/
> 
> 
> Testing
> ---
> 
> Make check with an without the patch.
> 
> 
> Thanks,
> 
> Kapil Arya
> 
>



Re: Review Request 59318: Replace an EXPECT with an ASSERT in master_tests to avoid segfaults.

2017-05-17 Thread Vinod Kone

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59318/#review175337
---


Ship it!




Ship It!

- Vinod Kone


On May 16, 2017, 7:28 p.m., Kapil Arya wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/59318/
> ---
> 
> (Updated May 16, 2017, 7:28 p.m.)
> 
> 
> Review request for mesos and Gilbert Song.
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> See summary.
> 
> 
> Diffs
> -
> 
>   src/tests/master_tests.cpp 37a54138b03229778bc62501532e698e87760218 
> 
> 
> Diff: https://reviews.apache.org/r/59318/diff/1/
> 
> 
> Testing
> ---
> 
> Make check with an without the patch.
> 
> 
> Thanks,
> 
> Kapil Arya
> 
>



Re: Review Request 59318: Replace an EXPECT with an ASSERT in master_tests to avoid segfaults.

2017-05-16 Thread Mesos Reviewbot

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59318/#review175183
---



Patch looks great!

Reviews applied: [58923, 58924, 58925, 58759, 58760, 58999, 59000, 59001, 59318]

Passed command: export OS='ubuntu:14.04' BUILDTOOL='autotools' COMPILER='gcc' 
CONFIGURATION='--verbose' ENVIRONMENT='GLOG_v=1 MESOS_VERBOSE=1'; 
./support/docker-build.sh

- Mesos Reviewbot


On May 16, 2017, 7:28 p.m., Kapil Arya wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/59318/
> ---
> 
> (Updated May 16, 2017, 7:28 p.m.)
> 
> 
> Review request for mesos and Gilbert Song.
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> See summary.
> 
> 
> Diffs
> -
> 
>   src/tests/master_tests.cpp 37a54138b03229778bc62501532e698e87760218 
> 
> 
> Diff: https://reviews.apache.org/r/59318/diff/1/
> 
> 
> Testing
> ---
> 
> Make check with an without the patch.
> 
> 
> Thanks,
> 
> Kapil Arya
> 
>