Skip to content

Commit

Permalink
Kill a low value slow test
Browse files Browse the repository at this point in the history
  • Loading branch information
dturn committed Aug 3, 2018
1 parent c7f13d9 commit c5c06ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
10 changes: 0 additions & 10 deletions test/integration/kubernetes_deploy_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1064,16 +1064,6 @@ def test_hpa_can_be_successful
])
end

def test_hpa_times_out_when_no_matching_deployment
skip if KUBE_SERVER_VERSION < Gem::Version.new('1.8.0')
assert_deploy_failure(deploy_fixtures("hpa", subset: ["hpa.yml"]), :timed_out)
assert_logs_match_all([
"Deploying HorizontalPodAutoscaler/hello-hpa (timeout: 180s)",
"HorizontalPodAutoscaler/hello-hpa: TIMED OUT",
"Final status: FailedGetScale"
])
end

def test_hpa_can_be_pruned
skip if KUBE_SERVER_VERSION < Gem::Version.new('1.8.0')
assert_deploy_success(deploy_fixtures("hpa"))
Expand Down
4 changes: 4 additions & 0 deletions test/unit/sync_mediator_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,10 @@ def type
self.class.name.demodulize
end

def kubectl_resource_type
type
end

def kubectl_response
{
"metadata" => {
Expand Down

0 comments on commit c5c06ef

Please sign in to comment.