actually fix test to work w/ newer grpc version
This commit is contained in:
parent
90277ea2e9
commit
c37da201b7
|
|
@ -247,8 +247,8 @@ func TestGetAllFiles(t *testing.T) {
|
||||||
// which indicates "grpc_testing/test.proto", not our local copy.
|
// which indicates "grpc_testing/test.proto", not our local copy.
|
||||||
expectedFilesWithReflection := [][]string{
|
expectedFilesWithReflection := [][]string{
|
||||||
{"grpc_reflection_v1alpha/reflection.proto", "grpc_testing/test.proto"},
|
{"grpc_reflection_v1alpha/reflection.proto", "grpc_testing/test.proto"},
|
||||||
// depending on the version of grpc, the filename could be prefixed with "interop/"
|
// depending on the version of grpc, the filenames could be prefixed with "interop/" and "reflection/"
|
||||||
{"grpc_reflection_v1alpha/reflection.proto", "interop/grpc_testing/test.proto"},
|
{"interop/grpc_testing/test.proto", "reflection/grpc_reflection_v1alpha/reflection.proto"},
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, ds := range descSources {
|
for _, ds := range descSources {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue