Skip to content

Commit 9c4d930

Browse files
test: update tf test
1 parent 62a2502 commit 9c4d930

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

registry/coder/modules/claude-code/main.tftest.hcl

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,19 +195,43 @@ run "test_claude_code_with_boundary" {
195195
agent_id = "test-agent-boundary"
196196
workdir = "/home/coder/boundary-test"
197197
enable_boundary = true
198+
boundary_version = "main"
198199
boundary_log_dir = "/tmp/test-boundary-logs"
200+
boundary_log_level = "WARN"
201+
boundary_additional_allowed_urls = ["*google.com"]
202+
boundary_proxy_port = "8087"
199203
}
200204

201205
assert {
202206
condition = var.enable_boundary == true
203207
error_message = "Boundary should be enabled"
204208
}
205209

210+
assert {
211+
condition = var.boundary_version == "main"
212+
error_message = "Boundary version should be set correctly"
213+
}
214+
206215
assert {
207216
condition = var.boundary_log_dir == "/tmp/test-boundary-logs"
208217
error_message = "Boundary log dir should be set correctly"
209218
}
210219

220+
assert {
221+
condition = var.boundary_log_level == "WARN"
222+
error_message = "Boundary log level should be set correctly"
223+
}
224+
225+
assert {
226+
condition = var.boundary_additional_allowed_urls == ["*google.com"]
227+
error_message = "Boundary additional allowed urls should be set correctly"
228+
}
229+
230+
assert {
231+
condition = var.boundary_proxy_port == "8087"
232+
error_message = "Boundary proxy port should be set correctly"
233+
}
234+
211235
assert {
212236
condition = local.coder_host != ""
213237
error_message = "Coder host should be extracted from access URL"

0 commit comments

Comments
 (0)