> On Jan. 22, 2016, 1:59 p.m., Jian Qiu wrote: > > The reason I think is that the master starting from local drop the > > framework authentication message before it is fully started which cause the > > authentication timeout. I am not sure whether we can delay the start of > > framework until master has been fully started?
Because add a delay in a example looks strange and may let user confuse, I change the authenticate timeout here. - haosdent ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42441/#review115843 ----------------------------------------------------------- On Jan. 17, 2016, 6:27 p.m., haosdent huang wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/42441/ > ----------------------------------------------------------- > > (Updated Jan. 17, 2016, 6:27 p.m.) > > > Review request for mesos, Alexander Rukletsov, Ben Mahler, and Jian Qiu. > > > Bugs: MESOS-4155 > https://issues.apache.org/jira/browse/MESOS-4155 > > > Repository: mesos > > > Description > ------- > > Decrease scheduler authenticate timeout. > > > Diffs > ----- > > src/sched/constants.hpp 523c6d94571ae22b1aa8fe786f5c9f965039ea7a > src/sched/constants.cpp c00b8ba31d5f24f99e99a9ec7034b641929246c0 > src/sched/flags.hpp 57dbab8ad7f8d4829d15627caf0e69ef91702081 > src/sched/sched.cpp 38940b7e2563a2156be2f8c228afdc27c45b6e83 > src/tests/event_call_framework_test.sh > 9d1211552734afbf15b376f8c4629bae8a2065af > src/tests/java_exception_test.sh fd02322096d09cee6cc22340f18681ad372867b5 > src/tests/java_framework_test.sh 8fccc699133c6db6130153c367ce01ba3931c1a2 > src/tests/no_executor_framework_test.sh > aebdc8c380abb2d041d6fc74dfac5a111c15267e > src/tests/persistent_volume_framework_test.sh > 84f02847a8d89400512d8a5714d33fb29cf5b03a > src/tests/python_framework_test.sh dc3a50f4fe8d3340429996622e62f732941985a2 > src/tests/test_framework_test.sh 409e80994f63448115ea8ac34b4fd5c6cf88aa22 > > Diff: https://reviews.apache.org/r/42441/diff/ > > > Testing > ------- > > ``` > $ sudo ./bin/mesos-tests.sh --gtest_filter="ExamplesTest.*" > [==========] Running 8 tests from 1 test case. > [----------] Global test environment set-up. > [----------] 8 tests from ExamplesTest > [ RUN ] ExamplesTest.TestFramework > [ OK ] ExamplesTest.TestFramework (1162 ms) > [ RUN ] ExamplesTest.NoExecutorFramework > [ OK ] ExamplesTest.NoExecutorFramework (1797 ms) > [ RUN ] ExamplesTest.EventCallFramework > [ OK ] ExamplesTest.EventCallFramework (2289 ms) > [ RUN ] ExamplesTest.PersistentVolumeFramework > [ OK ] ExamplesTest.PersistentVolumeFramework (4053 ms) > [ RUN ] ExamplesTest.JavaFramework > [ OK ] ExamplesTest.JavaFramework (2601 ms) > [ RUN ] ExamplesTest.JavaException > [ OK ] ExamplesTest.JavaException (782 ms) > [ RUN ] ExamplesTest.JavaLog > [ OK ] ExamplesTest.JavaLog (2571 ms) > [ RUN ] ExamplesTest.PythonFramework > [ OK ] ExamplesTest.PythonFramework (2034 ms) > [----------] 8 tests from ExamplesTest (17291 ms total) > > ``` > > > Thanks, > > haosdent huang > >