public class TestBeeLineWithArgs
extends java.lang.Object
Constructor and Description |
---|
TestBeeLineWithArgs() |
Modifier and Type | Method and Description |
---|---|
static void |
postTests()
Shut down a local Hive Server 2 for these tests
|
static void |
preTests()
Start up a local Hive Server 2 for these tests
|
void |
testBreakOnErrorScriptFile()
Attempt to execute a simple script file with the -f option to BeeLine
The first command should fail and the second command should not execute
Print PASSED or FAILED
|
void |
testHiveVarSubstitution() |
void |
testNegativeScriptFile()
Attempt to execute a missing script file with the -f option to BeeLine
Print PASSED or FAILED
|
void |
testNPE()
HIVE-4566
|
void |
testPositiveScriptFile()
Attempt to execute a simple script file with the -f option to BeeLine
Test for presence of an expected pattern
in the output (stdout or stderr), fail if not found
Print PASSED or FAILED
|
public static void preTests() throws java.lang.Exception
java.lang.Exception
public static void postTests()
public void testPositiveScriptFile() throws java.lang.Throwable
java.lang.Throwable
public void testBreakOnErrorScriptFile() throws java.lang.Throwable
java.lang.Throwable
public void testNegativeScriptFile() throws java.lang.Throwable
java.lang.Throwable
public void testNPE() throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
public void testHiveVarSubstitution() throws java.lang.Throwable
java.lang.Throwable
Copyright © 2012 The Apache Software Foundation