dongjoon-hyun opened a new pull request, #53975:
URL: https://github.com/apache/spark/pull/53975

   ### What changes were proposed in this pull request?
   
   This PR aims to add a new test tag, `commandTestTag`, to K8s Integration 
Test.
   
   ### Why are the changes needed?
   
   `o.a.s.deploy.k8s.integrationtest.Utils.executeCommand` requires a live pod 
access like `cat`, `env`, `ls`, and `df` commands . We had better distinguish 
this kind of test group.
   
   ```
   $ cd 
resource-managers/kubernetes/integration-tests/src/test/scala/org/apache/spark/deploy/k8s/integrationtest/
   
   $ git grep executeCommand
   PVTestsSuite.scala:      val contents = Utils.executeCommand("cat", 
s"$CONTAINER_MOUNT_PATH/$file")
   SecretsTestsSuite.scala:      val env = Utils.executeCommand("env")
   SecretsTestsSuite.scala:    val files = Utils.executeCommand("ls", 
s"$SECRET_MOUNT_PATH")
   SecretsTestsSuite.scala:      .executeCommand("cat", 
s"$SECRET_MOUNT_PATH/$ENV_SECRET_KEY_1")
   SecretsTestsSuite.scala:      .executeCommand("cat", 
s"$SECRET_MOUNT_PATH/$ENV_SECRET_KEY_2")
   Utils.scala:  def executeCommand(cmd: String*)(
   VolumeSuite.scala:      assert(Utils.executeCommand("df", 
path).contains(expected))
   ```
   
   ### Does this PR introduce _any_ user-facing change?
   
   No, this is a test-only change.
   
   ### How was this patch tested?
   
   Pass the CIs.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   No.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to