can you help me with how to implement the check part in slave/main.cpp
On Tue, Mar 4, 2014 at 2:08 AM, hades dark <[email protected]> wrote: > still some work to do then. > off to main.cpp then :) > > > On Tue, Mar 4, 2014 at 1:21 AM, Benjamin Mahler <[email protected] > > wrote: > >> One way to work around this is to do the check in slave/main.cpp instead, >> this means you don't have to update the integration tests, but you will >> likely still have to update the example framework tests. >> >> The alternative is you'll have to fix all the tests. >> >> >> On Mon, Mar 3, 2014 at 11:29 AM, hades dark <[email protected]> wrote: >> >> > hi all, >> > >> > I think I have coded the solution to the issue( >> > https://issues.apache.org/jira/browse/MESOS-969 ) correctly but I am >> > getting a make check failure . >> > >> > the problem is that the tests are checking for memory value which is >> > greater than the actual memory of system hence leading to failure. My >> code >> > is returning the total memory of system if memory provided is more than >> the >> > main memory. but, test expects the value provided by them. What should >> be >> > done in this case . >> > >> > links: >> > >> > master status : http://pastebin.com/7pdRUEiN >> > slave status : >> http://pastebin.com/w4zzjbrS >> > make check : http://pastebin.com/cmScDQBX >> > modification to containerizer.cpp : http://pastebin.com/cmas9x1Y >> > -- >> > REGARDS >> > ASHUTOSH JAIN >> > IIT-BHU VARANASI >> > >> > > > > -- > REGARDS > ASHUTOSH JAIN > IIT-BHU VARANASI > -- REGARDS ASHUTOSH JAIN IIT-BHU VARANASI
