64
64
"order" : 1
65
65
},
66
66
"requireExactSource" : true
67
- }
67
+ },
68
+ {
69
+ "name" : " Integration Tests - Client Debug" ,
70
+ "type" : " coreclr" ,
71
+ "request" : " launch" ,
72
+ "program" : " /usr/bin/dotnet" ,
73
+ "preLaunchTask" : " deploy-debugshim-integrationTest" ,
74
+ "args" : [
75
+ " ${workspaceFolder}/test/integrationTests/bin/Debug/net6.0/integrationTests.dll"
76
+ ],
77
+ "env" : {
78
+ "DOTNET_ENVIRONMENT" : " Development"
79
+ },
80
+ "cwd" : " ${workspaceFolder}/test/integrationTests" ,
81
+ "stopAtEntry" : false ,
82
+ "console" : " internalConsole" ,
83
+ "pipeTransport" : {
84
+ "pipeCwd" : " ${workspaceRoot}/test/integrationTests" ,
85
+ "pipeProgram" : " bash" ,
86
+ "pipeArgs" : [
87
+ " -c \" kubectl exec --stdin $(kubectl get pods -l app=vth-client -n payload-app --sort-by=.metadata.creationTimestamp -o jsonpath=\" {.items[-1:].metadata.name}\" ) -n payload-app -c vth-client -- "
88
+ ],
89
+ "quoteArgs" : false ,
90
+ "debuggerPath" : " ${workspaceFolder}/.git/spacefx-dev/vsdbg/vsdbg"
91
+ },
92
+ "postDebugTask" : " reset-debugshim-client" ,
93
+ "presentation" : {
94
+ "hidden" : false ,
95
+ "group" : " integrationtests" ,
96
+ "order" : 1
97
+ },
98
+ "requireExactSource" : true
99
+ },
100
+ {
101
+ "name" : " Integration Tests - Client Run" ,
102
+ "type" : " coreclr" ,
103
+ "request" : " launch" ,
104
+ "program" : " /usr/bin/dotnet" ,
105
+ "preLaunchTask" : " deploy-debugshim-integrationTest" ,
106
+ "args" : [
107
+ " test" ,
108
+ " --verbosity" ,
109
+ " detailed" ,
110
+ " ${workspaceRoot}/test/integrationTests/bin/Debug/net6.0/integrationTests.dll"
111
+ ],
112
+ "cwd" : " ${workspaceFolder}/test/integrationTests" ,
113
+ "stopAtEntry" : false ,
114
+ "console" : " internalConsole" ,
115
+ "pipeTransport" : {
116
+ "pipeCwd" : " ${workspaceRoot}/test/integrationTests" ,
117
+ "pipeProgram" : " bash" ,
118
+ "pipeArgs" : [
119
+ " -c \" kubectl exec --stdin $(kubectl get pods -l app=vth-client -n payload-app --sort-by=.metadata.creationTimestamp -o jsonpath=\" {.items[-1:].metadata.name}\" ) -n payload-app -c vth-client -- "
120
+ ],
121
+ "quoteArgs" : false ,
122
+ "debuggerPath" : " ${workspaceFolder}/.git/spacefx-dev/vsdbg/vsdbg"
123
+ },
124
+ "postDebugTask" : " reset-debugshim-client" ,
125
+ "presentation" : {
126
+ "hidden" : true ,
127
+ "group" : " integrationtests" ,
128
+ "order" : 2
129
+ },
130
+ },
131
+ {
132
+ "name" : " Integration Tests - vth" ,
133
+ "type" : " coreclr" ,
134
+ "request" : " launch" ,
135
+ "program" : " /usr/bin/dotnet" ,
136
+ "preLaunchTask" : " deploy-debugshim-integrationTest-host" ,
137
+ "args" : [
138
+ " ${workspaceFolder}/.git/workspaces/vth/vth.dll"
139
+ ],
140
+ "env" : {
141
+ "DOTNET_ENVIRONMENT" : " IntegrationTest"
142
+ },
143
+ "cwd" : " ${workspaceFolder}/src" ,
144
+ "stopAtEntry" : false ,
145
+ "console" : " internalConsole" ,
146
+ "pipeTransport" : {
147
+ "pipeCwd" : " ${workspaceRoot}/src" ,
148
+ "pipeProgram" : " bash" ,
149
+ "pipeArgs" : [
150
+ " -c \" kubectl exec --stdin $(kubectl get pods -l app=vth -n payload-app --sort-by=.metadata.creationTimestamp -o jsonpath=\" {.items[-1:].metadata.name}\" ) -n payload-app -c vth -- "
151
+ ],
152
+ "quoteArgs" : false ,
153
+ "debuggerPath" : " ${workspaceFolder}/.git/spacefx-dev/vsdbg/vsdbg"
154
+ },
155
+ "postDebugTask" : " reset-debugshim-host" ,
156
+ "presentation" : {
157
+ "hidden" : false ,
158
+ "group" : " integrationtests" ,
159
+ "order" : 1
160
+ },
161
+ "requireExactSource" : true
162
+ },
68
163
],
69
164
"compounds" : [
70
165
{
79
174
"group" : " debug" ,
80
175
"order" : 2
81
176
}
177
+ },
178
+ {
179
+ "name" : " Integration Tests - Debug" ,
180
+ "configurations" : [
181
+ " Integration Tests - vth" ,
182
+ " Integration Tests - Client Debug"
183
+ ],
184
+ "stopAll" : true ,
185
+ "presentation" : {
186
+ "hidden" : false ,
187
+ "group" : " integrationtests" ,
188
+ "order" : 3
189
+ }
190
+ },
191
+ {
192
+ "name" : " Integration Tests - Run" ,
193
+ "configurations" : [
194
+ " Integration Tests - vth" ,
195
+ " Integration Tests - Client Run"
196
+ ],
197
+ "stopAll" : true ,
198
+ "presentation" : {
199
+ "hidden" : false ,
200
+ "group" : " integrationtests" ,
201
+ "order" : 3
202
+ }
82
203
}
83
204
]
84
205
}
0 commit comments