diff --git a/test/e2e/gameserver_test.go b/test/e2e/gameserver_test.go index 74e8db5a28..e7795093aa 100644 --- a/test/e2e/gameserver_test.go +++ b/test/e2e/gameserver_test.go @@ -511,7 +511,21 @@ func TestGameServerReserve(t *testing.T) { logger.WithField("first-time", e.FirstTimestamp).WithField("count", e.Count). WithField("last-time", e.LastTimestamp). WithField("name", e.Name). - WithField("reason", e.Reason).WithField("message", e.Message).Info("event details") + WithField("reason", e.Reason).WithField("message", e.Message).Info("gs event details") + } + + pod, err := framework.KubeClient.CoreV1().Pods(defaultNs).Get(readyGs.ObjectMeta.Name, metav1.GetOptions{}) + assert.NoError(t, err) + logger.WithField("status", pod.Status).Info("Pod Status") + + list, err = framework.KubeClient.CoreV1().Events(defaultNs).Search(scheme.Scheme, pod) + assert.NoError(t, err) + + for _, e := range list.Items { + logger.WithField("first-time", e.FirstTimestamp).WithField("count", e.Count). + WithField("last-time", e.LastTimestamp). + WithField("name", e.Name). + WithField("reason", e.Reason).WithField("message", e.Message).Info("gs event details") } }