Run ExecutionTest w/integration test framework
I changed the default local.xml to use 2 NCs with
2 partitions each like AsterixHyracksIntegrationUtil
so that the results will match despite using simple
string compare to determine correctness.
There is also one test in particular (big-object-join)
that I had to add an artificial order by clause to
to deal with different results.
Issues outstanding:
- HDFS in ClusterExecutionIT needs to be thought out
Change-Id: I423f2a7c77839b999d466dd5cace302574d956c0
Reviewed-on: https://asterix-gerrit.ics.uci.edu/525
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Chris Hillery <ceej@lambda.nu>
diff --git a/asterix-installer/src/test/resources/clusterts/Vagrantfile b/asterix-installer/src/test/resources/clusterts/Vagrantfile
index 11f6cbe..781a4da 100644
--- a/asterix-installer/src/test/resources/clusterts/Vagrantfile
+++ b/asterix-installer/src/test/resources/clusterts/Vagrantfile
@@ -22,20 +22,20 @@
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
- config.vm.provider "virtualbox" do |v|
- v.memory =2048
- v.cpus = 2
- end
+
config.vm.provision "file", source: "id_rsa", destination: "/home/vagrant/.ssh/id_rsa"
+ config.vm.provision "file", source: "id_rsa.pub", destination: "/home/vagrant/.ssh/id_rsa.pub"
config.vm.provision "file", source: "known_hosts", destination: "/home/vagrant/.ssh/known_hosts"
config.vm.provision "file", source: "hosts", destination: "/home/vagrant/hosts"
config.vm.provision "shell", inline: "mv /home/vagrant/hosts /etc/hosts"
config.vm.provision "shell", privileged: false, inline: "chmod 400 /home/vagrant/.ssh/id_rsa"
+ config.vm.provision "shell", privileged: false, inline: "cat /home/vagrant/.ssh/id_rsa.pub >> /home/vagrant/.ssh/authorized_keys"
+ config.vm.provision "shell", privileged: false, inline: "chmod 600 /home/vagrant/.ssh/authorized_keys"
$java_inst = <<-END
wget -q --no-cookies --no-check-certificate \
--header 'Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie' \
- 'http://download.oracle.com/otn-pub/java/jdk/7u51-b13/jdk-7u51-linux-x64.rpm' \
+ 'http://download.oracle.com/otn-pub/java/jdk/8u65-b17/jdk-8u65-linux-x64.rpm' \
-O /tmp/jdk.rpm;
sudo yum -y localinstall /tmp/jdk.rpm;
@@ -44,26 +44,33 @@
END
config.vm.provision "shell", inline: $java_inst
- config.vm.define "nc3" do |nc|
- nc.vm.box = "chef/centos-6.5"
- nc.vm.hostname = "nc3"
- nc.vm.network "private_network", ip: "10.10.0.5"
- end
config.vm.define "nc2" do |nc|
- nc.vm.box = "chef/centos-6.5"
+ nc.vm.box = "bento/centos-6.7"
nc.vm.hostname = "nc2"
nc.vm.network "private_network", ip: "10.10.0.4"
+ config.vm.provider "virtualbox" do |v|
+ v.memory = 3096
+ v.cpus = 2
+ end
end
config.vm.define "nc1" do |nc|
- nc.vm.box = "chef/centos-6.5"
+ nc.vm.box = "bento/centos-6.7"
nc.vm.hostname = "nc1"
nc.vm.network "private_network", ip: "10.10.0.3"
+ config.vm.provider "virtualbox" do |v|
+ v.memory = 3096
+ v.cpus = 2
+ end
end
config.vm.define "cc" do |cc|
- cc.vm.box = "chef/centos-6.5"
+ cc.vm.box = "bento/centos-6.7"
cc.vm.hostname = "cc"
cc.vm.network "private_network", ip: "10.10.0.2"
+ config.vm.provider "virtualbox" do |v|
+ v.memory = 1024
+ v.cpus = 1
+ end
end
end