Commit Graph

92 Commits

Author SHA1 Message Date
draveness
d3158b2c71 feat: use framework.ExpectNotEqual in e2e test 2019-07-10 21:36:26 +08:00
s-ito-ts
e7752f72e4 Use framework.ExpectEqual() under e2e/scheduling 2019-07-04 08:51:24 +00:00
SataQiu
332be4b1e3 refactor: replace framework.Failf with e2elog.Failf 2019-06-19 17:52:35 +08:00
Jiatong Wang
b1c346c295 Move node related methods to framework/node package
- Add a package "node" under e2e/framework and alias e2enode;
- Rename some functions whose name have redundant string.

Signed-off-by: Jiatong Wang <wangjiatong@vmware.com>
2019-06-17 16:59:07 -07:00
Jorge Alarcon Ochoa
4969a05327 Refactored pod-related functions from framework/util.go
This a refactoring of framework/utils.go into framework/pod.

Signed-off-by: Jorge Alarcon Ochoa <alarcj137@gmail.com>
2019-05-30 09:30:26 -04:00
Kenichi Omichi
48f1f74a51 Use ExpectNoError() for scalability and scheduling
The e2e test framework has ExpectNoError() for readable test code.
This replaces Expect(err).NotTo(HaveOccurred()) with it.
2019-05-15 20:19:25 +00:00
danielqsj
ccecc67a5b fix golint error in test/e2e/scheduling 2019-05-14 14:18:52 +08:00
danielqsj
15a4342fe8 remove dot imports in e2e/scheduling 2019-05-14 14:17:20 +08:00
draveness
da7507500f refactor: use e2elog.Logf instead of framework.Logf 2019-05-07 08:15:31 +08:00
ravisantoshgudimetla
074bbb0434 Build file 2019-04-08 15:53:54 -04:00
ravisantoshgudimetla
346f97c048 Ignore BE pods while evaluating 2019-03-29 18:35:31 -04:00
ravisantoshgudimetla
a6055b5c26 Fix usage priority fraction 2019-03-29 17:56:42 -04:00
ravisantoshgudimetla
0308d24df7 Remove resource priority limit e2e function 2018-11-02 14:12:18 -04:00
k8s-ci-robot
a525a2b4ee
Merge pull request #70401 from ravisantoshgudimetla/fix-e2e-node-capacity
Fix capacities as well
2018-11-01 09:53:04 -07:00
k8s-ci-robot
215234d3a3
Merge pull request #67778 from gyuho/typo
staing/apimachinery: fix typo "perfer" to "prefer"
2018-11-01 03:21:02 -07:00
ravisantoshgudimetla
dd06ca7631 Fix capacities as well 2018-10-30 13:26:41 -04:00
Gyuho Lee
1adb8100ba staing/apimachinery: fix typo "perfer" to "prefer"
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-10-27 20:29:54 -07:00
ravisantoshgudimetla
e47d587bee Fix e2e node status updates 2018-10-27 19:04:52 -04:00
ravisantoshgudimetla
fad6b326e3 Fix default algorithm provider priority insertion 2018-10-26 13:48:44 -04:00
ravisantoshgudimetla
ba71ae7227 E2E and build file generated 2018-10-16 12:58:38 -04:00
Davanum Srinivas
ae0dde5c7d
Remove e2e-image-puller
A long time ago, We added the image prepulling as a workaround due to
the overwhelming amount of flake caused by pulling during the tests.
This functionality has been broken for a while now when we switched to a
COS image where mounting `docker` binary into `busybox` stopped working.
So we just have dead code we should clean up.

Change-Id: I538171a5c1d9361eee7f9e0a99655b88b1721e3e
2018-09-03 20:43:54 -04:00
Maciej Szulik
383872615d
Remove kubectl reapers 2018-05-25 22:18:05 +02:00
Kubernetes Submit Queue
cba403024f
Merge pull request #62114 from deads2k/cli-22-jobs
Automatic merge from submit-queue (batch tested with PRs 62208, 62114, 62144, 60460, 62214). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

removes job scaler, continued

Builds on https://github.com/kubernetes/kubernetes/pull/61912 (original commit is there for credit/blame)

This keeps all the updates to the scaler building and all the test and reaper cleanup.  It just keeps a fake job scaler around for a different command path and the reaper.

/assign @p0lyn0mial 
/assign @soltysh 

```release-note
NONE
```
2018-04-06 17:06:09 -07:00
Manjunath A Kumatagi
1bb810e749 Use pause manifest image 2018-04-06 11:00:50 +05:30
p0lyn0mial
3b00b4a86f removes job scaler 2018-04-04 08:23:21 -04:00
p0lyn0mial
1f1d24005a removes custom scalers from kubectl 2018-03-26 19:33:42 +02:00
Ryan Hitchman
e04b91facf Remove unused variables (only assigned to) from test code.
This is revealed by the go/types package, which is stricter than
the Go compiler about unused variables. See also: golang/go#8560
2018-02-27 13:45:31 -08:00
p0lyn0mial
dd9de90b0a the changes introduced in this commit plumbs in the generic scaler into kubectl.
note that we don't change the behaviour of kubectl.
For example it won't scale new resources. That's the end goal.
The first step is to retrofit existing code to use the generic scaler.
2018-01-12 09:21:18 +01:00
Jonathan Basseri
30b89d830b Move scheduler code out of plugin directory.
This moves plugin/pkg/scheduler to pkg/scheduler and
plugin/cmd/kube-scheduler to cmd/kube-scheduler.

Bulk of the work was done with gomvpkg, except for kube-scheduler main
package.
2018-01-05 15:05:01 -08:00
xiangpengzhao
1c4dbcf5ca Replace hard-code "cpu" and "memory" to consts 2017-08-16 16:37:50 +08:00
Bobby (Babak) Salamat
96010e7e7a Deleted the converted e2e tests 2017-07-20 14:40:32 -07:00
Jacob Simpson
29c1b81d4c Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00
David Oppenheimer
a836d55d0f Mark sig-scheduling tests with [sig-scheduling] so they can be selected
for the testdash dashboard.
2017-07-15 00:07:30 -07:00
Mike Danese
dafad706af scheduler e2e: make container name shorter 2017-07-12 11:30:57 -07:00
Klaus Ma
0f0e104061 Checked whether balanced Pods were created. 2017-06-26 09:06:28 +08:00
Bobby (Babak) Salamat
6b949a1a6a Remove e2e test that checked scheduler priority function for ReplicationController spreading 2017-06-23 16:44:32 -07:00
Kubernetes Submit Queue
80a5842623 Merge pull request #47883 from bsalamat/e2e_test_cleanup
Automatic merge from submit-queue (batch tested with PRs 47883, 47179, 46966, 47982, 47945)

Remove e2e test for least requested prioirty function

**What this PR does / why we need it**:
Deletes a flaky e2e test for "least requested" priority function of the scheduler. This priority function is tested more extensively in our unit tests.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #47769 

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
2017-06-23 15:48:35 -07:00
Chao Xu
60604f8818 run hack/update-all 2017-06-22 11:31:03 -07:00
Chao Xu
f4989a45a5 run root-rewrite-v1-..., compile 2017-06-22 10:25:57 -07:00
Bobby (Babak) Salamat
1e5afd722c Remove e2e test for least requested prioirty function 2017-06-21 17:14:23 -07:00
Haoran Wang
55acc00626 Add debug info for scheduler priority flaky tests 2017-04-26 18:45:35 +08:00
Haoran Wang
0b3a6c80ca Initial the scheduler priority test 2017-03-30 10:54:27 +08:00