Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-5631

Un-skip failing unified test valid-pass tests

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Unified Test Runner
    • Java Drivers

      The tests in kmsProviders-explicit_kms_credentials and kmsProviders-mixed_kms_credential_fields fail with

      [2024/09/26 15:48:20.634] FAILURE: java.lang.UnsupportedOperationException: Non-placeholder value is not supported for: accessKeyId :: {"accessKeyId": "accessKeyId", "secretAccessKey": "secretAccessKey"} (java.lang.UnsupportedOperationException)
      [2024/09/26 15:48:20.634] java.lang.UnsupportedOperationException: Non-placeholder value is not supported for: accessKeyId :: {"accessKeyId": "accessKeyId", "secretAccessKey": "secretAccessKey"}
      [2024/09/26 15:48:20.634] 	at com.mongodb.client.unified.UnifiedClientEncryptionHelper.setKmsProviderProperty(UnifiedClientEncryptionHelper.java:169)
      [2024/09/26 15:48:20.634] 	at com.mongodb.client.unified.UnifiedClientEncryptionHelper.setKmsProviderProperty(UnifiedClientEncryptionHelper.java:141)
      [2024/09/26 15:48:20.634] 	at com.mongodb.client.unified.UnifiedClientEncryptionHelper.createKmsProvidersMap(UnifiedClientEncryptionHelper.java:68)
      [2024/09/26 15:48:20.634] 	at com.mongodb.client.unified.Entities.initClientEncryption(Entities.java:755)
      [2024/09/26 15:48:20.634] 	at com.mongodb.client.unified.Entities.init(Entities.java:362)
      [2024/09/26 15:48:20.634] 	at com.mongodb.client.unified.UnifiedTest.setUp(UnifiedTest.java:253)
      

      The test runner appears not set up to support explicit dummy values rather than placeholder values.

      We may choose to close this as not worth fixing.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: