Skip to content

Commit 9a2455c

Browse files
committed
Fix test for ShinyProxy 3.2.0
1 parent 2fbcdf2 commit 9a2455c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/kotlin/eu/openanalytics/shinyproxyoperator/impl/kubernetes/helpers/ShinyProxyTestInstance.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class ShinyProxyTestInstance(private val namespace: String,
110110
}
111111

112112
fun assertServiceIsCorrect(sp: ShinyProxy, status: ShinyProxyStatus, revision: Int = 0) {
113-
val services = client.inNamespace(namespace).services().list().items
113+
val services = client.inNamespace(namespace).services().list().items.filter { it.metadata.name != "sp-headless-service" }
114114
assertEquals(1, services.size)
115115
val service = services.firstOrNull { it.metadata.name == "sp-${sp.name}-svc".take(63) }
116116
assertNotNull(service)

src/test/resources/configs/conflict.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v1
22
kind: ConfigMap
33
metadata:
4-
name: sp-example-shinyproxy-cm-7e83b7de02a22113928962bfebde0d1c090300
4+
name: sp-example-shinyproxy-cm-731bfcbdfc78f220025ed5b1ee40a74cdf4581
55
namespace: itest
66
data:
77
application.yml: |

0 commit comments

Comments
 (0)