This paper presents a method for enabling models to dynamically adapt and perform optimally in changing target domains through Test-time Adaptation (TTA). Specifically, we focus on real-world driving environments with frequent weather changes, and propose a method called TTA-DAME. TTA-DAME applies source domain data augmentation to the target domain and introduces a domain discriminator and a specialized domain detector to mitigate abrupt domain changes, particularly from day to night. We train multiple detectors and integrate prediction results using Non-Maximum Suppression (NMS) to enhance adaptability. The effectiveness of the proposed method is experimentally verified using the SHIFT Benchmark.