@@ -114,7 +114,7 @@ type DataSource struct {
114114}
115115
116116func TestMarklogicCluster (t * testing.T ) {
117- feature := features .New ("Marklogic Cluster Test" )
117+ feature := features .New ("Marklogic Cluster Test" ). WithLabel ( "type" , "cluster-test" )
118118
119119 // Setup Loki and Grafana to verify Logging for Operator
120120 feature .Setup (func (ctx context.Context , t * testing.T , c * envconf.Config ) context.Context {
@@ -228,7 +228,7 @@ func TestMarklogicCluster(t *testing.T) {
228228 client := c .Client ()
229229
230230 podName := "node-0"
231- err := utils .WaitForPod (ctx , t , client , mlNamespace , podName , 120 * time .Second )
231+ err := utils .WaitForPod (ctx , t , client , mlNamespace , podName , 180 * time .Second )
232232 if err != nil {
233233 t .Fatalf ("Failed to wait for pod creation: %v" , err )
234234 }
@@ -300,7 +300,7 @@ func TestMarklogicCluster(t *testing.T) {
300300 if err != nil {
301301 t .Fatalf ("Failed to execute kubectl command in grafana pod: %v" , err )
302302 }
303- // t.Logf("Query datasource response: %s", output)
303+ t .Logf ("Query datasource response: %s" , output )
304304 // Verify MarkLogic logs in Grafana using Loki and Fluent Bit
305305 if ! (strings .Contains (string (output ), "Starting MarkLogic Server" )) {
306306 t .Fatal ("Failed to Query datasource" )
0 commit comments