Commit 27b7a46
committed
test(e2e): fix _agent_api_url regression in suite23; isolate suite26 credential tests
- suite23: build the respond URL via runtime.client._agent_url() (the removed
runtime._agent_api_url helper).
- suite26: function-scoped runtime fixture so each credential test re-registers
the worker TaskDef (with overwrite), making TaskDef.runtimeMetadata reflect
the test's own code path instead of a value left by a prior test in the module.
Verified via fail-first mutation: removing the registration stamping now fails
both credential tests together (previously the module-scoped runtime masked it).1 parent a84638d commit 27b7a46
2 files changed
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
| 203 | + | |
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
42 | 57 | | |
43 | 58 | | |
44 | 59 | | |
| |||
0 commit comments