Skip to content

Commit

Permalink
Enhanced e2e test cmd.
Browse files Browse the repository at this point in the history
Signed-off-by: Da K. Ma <klaus1982.cn@gmail.com>
  • Loading branch information
k82cn committed Aug 11, 2018
1 parent af42ff4 commit b154b90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 2 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
BIN_DIR=_output/bin
RELEASE_VER=0.1
RELEASE_VER=0.2

kube-arbitrator: init
go build -o ${BIN_DIR}/kar-scheduler ./cmd/kar-scheduler/
Expand Down Expand Up @@ -32,10 +32,8 @@ run-test:

e2e: kube-arbitrator
hack/e2e-cluster.sh
cd test && go test -v && cd -
echo "=================================> Controller <================================="
go test ./test -v
cat controller.log
echo "=================================> Scheduler <================================="
cat scheduler.log

coverage:
Expand Down
2 changes: 0 additions & 2 deletions test/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,7 @@ func createJob(
Namespace: context.namespace,
},
Spec: arbextv1.JobSpec{

MinAvailable: min,

TaskSpecs: []arbextv1.TaskSpec{
{

Expand Down

0 comments on commit b154b90

Please sign in to comment.