There is a YouTube video where Ajahn Brahm, abbot of the Bodhinyana Monastery in Western Australia, talked about the time he thought he may have become enlightened. This was in Thailand, when he was still a junior monk.

In this story, he said that after a long period of meditation (some days), he woke up in a state of intense bliss. He thought he may have become enlightened.

Later, he went to get alms. There was food distributed to the monks, including one small pot of delicious food (I think it was pork curry), and another big pot of unappetizing food (I think it was stinky fermented fish stew). Pork curry was a rare special treat, while the stinky fish stew is something ordinary. Both were distributed to a group of monks.

The most senior monk gets to take his food first. He took only the delicious pork curry for himself, and then he poured the remaining contents of the small pot into the big pot and mixed them together, saying, "They are all the same. As monks, we must not be choosy."

Having not eaten for several days, Bhikkhu Brahm was hungry. Seeing the senior monk's actions, he became angry, but did not say anything to him.

Then he thought, "if I became angry, then I'm definitely not enlightened."

**Epilogue:**

The moral of the story is that the [fetters (samyojana)][1] are very deep-rooted and deep-seated, that feelings of bliss may temporarily mask the fetters. They are most probably still there and one would not be enlightened yet. Blissful feelings and jhanas could be easily mistaken for enlightenment.

  [1]: https://en.wikipedia.org/wiki/Fetter_(Buddhism)