[ONOS-6622] Remove test Steps that try to build using Maven
Change-Id: Iefee31042f88d0e326a3297f5640d36865187267
diff --git a/TestON/tests/FUNC/FUNCflow/FUNCflow.py b/TestON/tests/FUNC/FUNCflow/FUNCflow.py
index 3751289..31b427c 100644
--- a/TestON/tests/FUNC/FUNCflow/FUNCflow.py
+++ b/TestON/tests/FUNC/FUNCflow/FUNCflow.py
@@ -82,17 +82,7 @@
onpass="Successfully construct " + "test variables ",
onfail="Failed to construct test variables" )
- if gitPull == 'True':
- main.step( "Building ONOS in " + gitBranch + " branch" )
- onosBuildResult = main.startUp.onosBuild( main, gitBranch )
- stepResult = onosBuildResult
- utilities.assert_equals( expect=main.TRUE,
- actual=stepResult,
- onpass="Successfully compiled " + "latest ONOS",
- onfail="Failed to compile " + "latest ONOS" )
- else:
- main.log.warn( "Did not pull new code so skipping mvn " +
- "clean install" )
+
def CASE2( self, main ):
"""
diff --git a/TestON/tests/FUNC/FUNCflow/dependencies/startUp.py b/TestON/tests/FUNC/FUNCflow/dependencies/startUp.py
index 8122586..a9becf9 100644
--- a/TestON/tests/FUNC/FUNCflow/dependencies/startUp.py
+++ b/TestON/tests/FUNC/FUNCflow/dependencies/startUp.py
@@ -27,7 +27,7 @@
else:
main.log.info( "Successfully pulled " + gitBranch + " branch" )
- # Maven clean install
- buildResult = main.ONOSbench.cleanInstall()
+ # buck build
+ buildResult = main.ONOSbench.buckBuild()
return buildResult