Skip to content

Commit

Permalink
Fix failure in KubernetesPlatformPropertiesTest
Browse files Browse the repository at this point in the history
- Add 'spring.cloud.kubernetes.client.namespace' prop which
is required in SCK 2021.0.5
  • Loading branch information
onobc committed Nov 8, 2022
1 parent 2bb12a6 commit 649002f
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017 the original author or authors.
* Copyright 2017-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -37,9 +37,11 @@

/**
* @author Donovan Muller
* @author Chris Bono
*/
@RunWith(SpringRunner.class)
@SpringBootTest(classes = KubernetesPlatformPropertiesTest.TestConfig.class)
@SpringBootTest(classes = KubernetesPlatformPropertiesTest.TestConfig.class,
properties = { "spring.cloud.kubernetes.client.namespace=default" })
@ActiveProfiles("platform-properties")
public class KubernetesPlatformPropertiesTest {

Expand Down

0 comments on commit 649002f

Please sign in to comment.