Commit f2407c7
revert: drop H2 + in-test DB override in smoke test
Per product direction, the e2e/sample path MUST exercise real Postgres
+ Flyway so Keploy is forced to correctly capture the full wire-protocol
footprint — including the Flyway bootstrap/migration queries. Swapping
the datasource for H2 at test time would hide exactly the behaviour the
sample is meant to regress.
Restores the Customer360ApplicationTests to its pre-review shape and
drops the H2 test dependency. The test assumes a live Postgres on
localhost:5432 (docker-compose.yml brings it up); added a Javadoc note
so future readers don't re-H2 it.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 679fc8b commit f2407c7
2 files changed
Lines changed: 9 additions & 18 deletions
File tree
- sap-demo-java
- src/test/java/com/tricentisdemo/sap/customer360
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | 128 | | |
136 | 129 | | |
137 | 130 | | |
| |||
Lines changed: 9 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
19 | | - | |
20 | | - | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | | - | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
| 26 | + | |
29 | 27 | | |
30 | 28 | | |
31 | 29 | | |
| |||
0 commit comments