Index: tests/ddl.conf =================================================================== --- tests/ddl.conf (revision 1433836) +++ tests/ddl.conf (working copy) @@ -73,7 +73,7 @@ 'url' => ':TEMPLETON_URL:/templeton/v1/ddl', 'status_code' => 200, 'post_options' => ['user.name=:UNAME:','exec=create table templetontest_tab2(i int, j bigint) STORED AS rcfile;'], - 'json_field_substr_match' => { 'exitcode' => '^9$'} + 'json_field_substr_match' => { 'exitcode' => '^1$'} }, { #describe table @@ -732,7 +732,7 @@ 'num' => 11, 'method' => 'GET', 'url' => ':TEMPLETON_URL:/templeton/v1/ddl/database/default/table/templetontest_parts/partition/dt=%2720120101%27,country=%27IN%27?user.name=:UNAME:', - 'status_code' => 500, #should return 404 when bug is fixed + 'status_code' => 404, 'json_field_substr_match' => { 'error' => 'Partition.*for table templetontest_parts does not exist' Index: README.txt =================================================================== --- README.txt (revision 1433836) +++ README.txt (working copy) @@ -20,6 +20,11 @@ End to end tests in templeton runs tests against an existing templeton server. It runs hcat, mapreduce, streaming, hive and pig tests. +!!!! NOTE !!!! +-------------- +USE SVN TO CHECKOUT CODE FOR RUNNING TESTS AS THE TEST + HARNESS IS EXTERNED FROM PIG. GIT WILL NOT IMPORT IT + Test cases ---------- The tests are defined in src/test/e2e/templeton/tests/*.conf @@ -43,6 +48,7 @@ * Data::Compare * File::Find::Rule * HTTP::Daemon +* Parallel::ForkManager Tips: * Using perlbrew (http://perlbrew.pl) should make installing perl modules easier. Index: build.xml =================================================================== --- build.xml (revision 1433836) +++ build.xml (working copy) @@ -20,14 +20,16 @@ - + + - - + + + @@ -39,16 +41,45 @@ unless="inpdir.hdfs"/> + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + - - - + + @@ -70,7 +101,6 @@ - @@ -90,7 +120,10 @@ + + + + + - -