actually fix test to work w/ newer grpc version

This commit is contained in:
Josh Humphries 2020-05-11 23:19:21 -04:00
parent 90277ea2e9
commit c37da201b7
1 changed files with 2 additions and 2 deletions

View File

@ -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 {