Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
VenelinMartinov committed Dec 16, 2024
1 parent a952164 commit 36cecf5
Show file tree
Hide file tree
Showing 8 changed files with 362 additions and 76 deletions.
41 changes: 38 additions & 3 deletions pkg/pf/tests/testdata/genrandom/random-delete-preview.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,25 @@
"runtime": "go"
}
},
{
"method": "/pulumirpc.LanguageRuntime/GetRequiredPackages",
"request": {
"info": {
"rootDirectory": "/Users/vvm/code/pulumi-terraform-bridge/pkg/pf/tests/testdatagen/genrandom",
"programDirectory": "/Users/vvm/code/pulumi-terraform-bridge/pkg/pf/tests/testdatagen/genrandom",
"entryPoint": ".",
"options": {}
}
},
"errors": [
"rpc error: code = Unimplemented desc = unknown method GetRequiredPackages for service pulumirpc.LanguageRuntime"
],
"metadata": {
"kind": "language",
"mode": "client",
"runtime": "go"
}
},
{
"method": "/pulumirpc.LanguageRuntime/GetRequiredPlugins",
"request": {
Expand Down Expand Up @@ -247,7 +266,7 @@
"customTimeouts": {},
"acceptResources": true,
"sourcePosition": {
"uri": "project://%2FUsers%2Fvvm%2Fgo%2Fpkg%2Fmod%2Fgithub.com%2Fpulumi%2Fpulumi%2Fsdk%2Fv3@v3.137.0%2Fgo%2Fpulumi%2Frun.go",
"uri": "project://%2FUsers%2Fvvm%2Fgo%2Fpkg%2Fmod%2Fgithub.com%2Fpulumi%2Fpulumi%2Fsdk%2Fv3@v3.143.0%2Fgo%2Fpulumi%2Frun.go",
"line": 98
},
"supportsResultReporting": true
Expand Down Expand Up @@ -283,7 +302,7 @@
},
"dryRun": true,
"parallel": 48,
"monitorAddress": "127.0.0.1:52719",
"monitorAddress": "127.0.0.1:51062",
"organization": "pulumi",
"configPropertyMap": {
"genradom:min": 0
Expand All @@ -294,7 +313,7 @@
"entryPoint": ".",
"options": {}
},
"loaderTarget": "127.0.0.1:52720"
"loaderTarget": "127.0.0.1:51063"
},
"response": {},
"metadata": {
Expand All @@ -303,6 +322,22 @@
"runtime": "go"
}
},
{
"method": "/pulumirpc.ResourceProvider/Handshake",
"request": {
"engineAddress": "127.0.0.1:51053",
"rootDirectory": "/Users/vvm/code/pulumi-terraform-bridge/pkg/pf/tests/testdatagen/genrandom/bin",
"programDirectory": "/Users/vvm/code/pulumi-terraform-bridge/pkg/pf/tests/testdatagen/genrandom/bin"
},
"errors": [
"rpc error: code = Unimplemented desc = Handshake is not yet implemented"
],
"metadata": {
"kind": "resource",
"mode": "client",
"name": "random"
}
},
{
"method": "/pulumirpc.ResourceProvider/GetPluginInfo",
"request": {},
Expand Down
41 changes: 38 additions & 3 deletions pkg/pf/tests/testdata/genrandom/random-delete-update.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,25 @@
"runtime": "go"
}
},
{
"method": "/pulumirpc.LanguageRuntime/GetRequiredPackages",
"request": {
"info": {
"rootDirectory": "/Users/vvm/code/pulumi-terraform-bridge/pkg/pf/tests/testdatagen/genrandom",
"programDirectory": "/Users/vvm/code/pulumi-terraform-bridge/pkg/pf/tests/testdatagen/genrandom",
"entryPoint": ".",
"options": {}
}
},
"errors": [
"rpc error: code = Unimplemented desc = unknown method GetRequiredPackages for service pulumirpc.LanguageRuntime"
],
"metadata": {
"kind": "language",
"mode": "client",
"runtime": "go"
}
},
{
"method": "/pulumirpc.LanguageRuntime/GetRequiredPlugins",
"request": {
Expand Down Expand Up @@ -247,7 +266,7 @@
"customTimeouts": {},
"acceptResources": true,
"sourcePosition": {
"uri": "project://%2FUsers%2Fvvm%2Fgo%2Fpkg%2Fmod%2Fgithub.com%2Fpulumi%2Fpulumi%2Fsdk%2Fv3@v3.137.0%2Fgo%2Fpulumi%2Frun.go",
"uri": "project://%2FUsers%2Fvvm%2Fgo%2Fpkg%2Fmod%2Fgithub.com%2Fpulumi%2Fpulumi%2Fsdk%2Fv3@v3.143.0%2Fgo%2Fpulumi%2Frun.go",
"line": 98
},
"supportsResultReporting": true
Expand Down Expand Up @@ -282,7 +301,7 @@
"genradom:min": "0"
},
"parallel": 48,
"monitorAddress": "127.0.0.1:52744",
"monitorAddress": "127.0.0.1:51078",
"organization": "pulumi",
"configPropertyMap": {
"genradom:min": 0
Expand All @@ -293,7 +312,7 @@
"entryPoint": ".",
"options": {}
},
"loaderTarget": "127.0.0.1:52745"
"loaderTarget": "127.0.0.1:51079"
},
"response": {},
"metadata": {
Expand All @@ -302,6 +321,22 @@
"runtime": "go"
}
},
{
"method": "/pulumirpc.ResourceProvider/Handshake",
"request": {
"engineAddress": "127.0.0.1:51071",
"rootDirectory": "/Users/vvm/code/pulumi-terraform-bridge/pkg/pf/tests/testdatagen/genrandom/bin",
"programDirectory": "/Users/vvm/code/pulumi-terraform-bridge/pkg/pf/tests/testdatagen/genrandom/bin"
},
"errors": [
"rpc error: code = Unimplemented desc = Handshake is not yet implemented"
],
"metadata": {
"kind": "resource",
"mode": "client",
"name": "random"
}
},
{
"method": "/pulumirpc.ResourceProvider/GetPluginInfo",
"request": {},
Expand Down
43 changes: 39 additions & 4 deletions pkg/pf/tests/testdata/genrandom/random-empty-preview.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,25 @@
"runtime": "go"
}
},
{
"method": "/pulumirpc.LanguageRuntime/GetRequiredPackages",
"request": {
"info": {
"rootDirectory": "/Users/vvm/code/pulumi-terraform-bridge/pkg/pf/tests/testdatagen/genrandom",
"programDirectory": "/Users/vvm/code/pulumi-terraform-bridge/pkg/pf/tests/testdatagen/genrandom",
"entryPoint": ".",
"options": {}
}
},
"errors": [
"rpc error: code = Unimplemented desc = unknown method GetRequiredPackages for service pulumirpc.LanguageRuntime"
],
"metadata": {
"kind": "language",
"mode": "client",
"runtime": "go"
}
},
{
"method": "/pulumirpc.LanguageRuntime/GetRequiredPlugins",
"request": {
Expand Down Expand Up @@ -247,7 +266,7 @@
"customTimeouts": {},
"acceptResources": true,
"sourcePosition": {
"uri": "project://%2FUsers%2Fvvm%2Fgo%2Fpkg%2Fmod%2Fgithub.com%2Fpulumi%2Fpulumi%2Fsdk%2Fv3@v3.137.0%2Fgo%2Fpulumi%2Frun.go",
"uri": "project://%2FUsers%2Fvvm%2Fgo%2Fpkg%2Fmod%2Fgithub.com%2Fpulumi%2Fpulumi%2Fsdk%2Fv3@v3.143.0%2Fgo%2Fpulumi%2Frun.go",
"line": 98
},
"supportsResultReporting": true
Expand All @@ -260,6 +279,22 @@
"mode": "server"
}
},
{
"method": "/pulumirpc.ResourceProvider/Handshake",
"request": {
"engineAddress": "127.0.0.1:50984",
"rootDirectory": "/Users/vvm/code/pulumi-terraform-bridge/pkg/pf/tests/testdatagen/genrandom/bin",
"programDirectory": "/Users/vvm/code/pulumi-terraform-bridge/pkg/pf/tests/testdatagen/genrandom/bin"
},
"errors": [
"rpc error: code = Unimplemented desc = Handshake is not yet implemented"
],
"metadata": {
"kind": "resource",
"mode": "client",
"name": "random"
}
},
{
"method": "/pulumirpc.ResourceProvider/GetPluginInfo",
"request": {},
Expand Down Expand Up @@ -396,7 +431,7 @@
"min": 1,
"seed": "pseudo-random-seed"
},
"randomSeed": "TTFN3t/Mt9UdllJ73HJN44pK94jKpkwHULmgCtfHZQM=",
"randomSeed": "QxTmYwYp1xrfEV1hO8iEr705Y6j+2qBjwHFTSCUXZvI=",
"name": "r1",
"type": "random:index/randomInteger:RandomInteger"
},
Expand Down Expand Up @@ -573,7 +608,7 @@
},
"dryRun": true,
"parallel": 48,
"monitorAddress": "127.0.0.1:52631",
"monitorAddress": "127.0.0.1:50991",
"organization": "pulumi",
"configPropertyMap": {
"genradom:min": 1
Expand All @@ -584,7 +619,7 @@
"entryPoint": ".",
"options": {}
},
"loaderTarget": "127.0.0.1:52632"
"loaderTarget": "127.0.0.1:50992"
},
"response": {},
"metadata": {
Expand Down
43 changes: 39 additions & 4 deletions pkg/pf/tests/testdata/genrandom/random-empty-update.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,25 @@
"runtime": "go"
}
},
{
"method": "/pulumirpc.LanguageRuntime/GetRequiredPackages",
"request": {
"info": {
"rootDirectory": "/Users/vvm/code/pulumi-terraform-bridge/pkg/pf/tests/testdatagen/genrandom",
"programDirectory": "/Users/vvm/code/pulumi-terraform-bridge/pkg/pf/tests/testdatagen/genrandom",
"entryPoint": ".",
"options": {}
}
},
"errors": [
"rpc error: code = Unimplemented desc = unknown method GetRequiredPackages for service pulumirpc.LanguageRuntime"
],
"metadata": {
"kind": "language",
"mode": "client",
"runtime": "go"
}
},
{
"method": "/pulumirpc.LanguageRuntime/GetRequiredPlugins",
"request": {
Expand Down Expand Up @@ -247,7 +266,7 @@
"customTimeouts": {},
"acceptResources": true,
"sourcePosition": {
"uri": "project://%2FUsers%2Fvvm%2Fgo%2Fpkg%2Fmod%2Fgithub.com%2Fpulumi%2Fpulumi%2Fsdk%2Fv3@v3.137.0%2Fgo%2Fpulumi%2Frun.go",
"uri": "project://%2FUsers%2Fvvm%2Fgo%2Fpkg%2Fmod%2Fgithub.com%2Fpulumi%2Fpulumi%2Fsdk%2Fv3@v3.143.0%2Fgo%2Fpulumi%2Frun.go",
"line": 98
},
"supportsResultReporting": true
Expand All @@ -260,6 +279,22 @@
"mode": "server"
}
},
{
"method": "/pulumirpc.ResourceProvider/Handshake",
"request": {
"engineAddress": "127.0.0.1:50999",
"rootDirectory": "/Users/vvm/code/pulumi-terraform-bridge/pkg/pf/tests/testdatagen/genrandom/bin",
"programDirectory": "/Users/vvm/code/pulumi-terraform-bridge/pkg/pf/tests/testdatagen/genrandom/bin"
},
"errors": [
"rpc error: code = Unimplemented desc = Handshake is not yet implemented"
],
"metadata": {
"kind": "resource",
"mode": "client",
"name": "random"
}
},
{
"method": "/pulumirpc.ResourceProvider/GetPluginInfo",
"request": {},
Expand Down Expand Up @@ -396,7 +431,7 @@
"min": 1,
"seed": "pseudo-random-seed"
},
"randomSeed": "9IdHtuq2lGUrsjl/wGar4hFadqNNUBpn0lGRT9SFDV0=",
"randomSeed": "80Pc2DCCefvDQM7hMCTZVCi3UhJg/gBj+yDACfVp6W4=",
"name": "r1",
"type": "random:index/randomInteger:RandomInteger"
},
Expand Down Expand Up @@ -572,7 +607,7 @@
"genradom:min": "1"
},
"parallel": 48,
"monitorAddress": "127.0.0.1:52651",
"monitorAddress": "127.0.0.1:51006",
"organization": "pulumi",
"configPropertyMap": {
"genradom:min": 1
Expand All @@ -583,7 +618,7 @@
"entryPoint": ".",
"options": {}
},
"loaderTarget": "127.0.0.1:52652"
"loaderTarget": "127.0.0.1:51007"
},
"response": {},
"metadata": {
Expand Down
Loading

0 comments on commit 36cecf5

Please sign in to comment.